Jump to content

Transparent pictures ?


forever
 Share

Recommended Posts

U used $WS_EX_LAYERED .. thats my problem i can't use it. I need demo-bg.jpg as the background and not the objects behind the window as background..you understand? :lmao:

<{POST_SNAPBACK}>

So You understand. WS_EX_LAYERED is mandatory for transparency.

Currently you cannot have a transparent pic on top of another Pic control.

I hope one day to find a solution for this situation. o:)

Link to comment
Share on other sites

That's bad...

I think this is needed (transparency for a pic ontop another pic)..it could be used in so many situations... :|

So ..i'll try toput a "background"window behind the main window.. a very bad workaorund but theonly one i have i think :lmao:

Link to comment
Share on other sites

Like I said. Better .gif transparency support. :lmao: Or even if we could have something like $ACS_TRANSPARENT (Avi style) for images.

Edit: Sorry, $ACS_TRANSPARENT only shows the background color of the GUI, not any images behind it. My mistake.

He (we?) want AutoIt to support .gif's the way that browsers do.

Posted Image

AutoIt:

GuiCreate('AutoIt Window', 256, 223)

GuiCtrlCreatePic('nw_backdrop.gif', 0, 0, 256, 223, 0)
GuiCtrlCreatePic('kamaitachi.gif', 120, 120, 44, 80)

GuiSetState()

Do
Until GUIGetMsg() = -3

HTML:

<title>IE Window</title>
<img src="nw_backdrop.gif" style="position: absolute; top: 0; left: 0">
<img src="kamaitachi.gif" style="position: absolute; top: 120px; left: 120px">

While we're at it, might as well ask for animated .gif support too! o:)

Edited by Saunders
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...