Jump to content

Recommended Posts

Posted

OK sooo far I know how to make a gui layered

#include <GUIConstants.au3>
GUICreate ( "GUI" , 100 , 100, -1, -1, "", BitOR ($WS_EX_TOPMOST, $WS_EX_LAYERED))

But I have no idea after that....

Qs:

1)How do I specify which layer a control is on

2)Could I make some layers transparent but not others

Any information you can share or pointing somewhere within the help file would be of great help!!!

[center]JSON Encoding UDF[/center]

Posted (edited)

I think you expect too much out of it, misinterpreting the meaning of "layered". You're thinking photoshop layers, while in reality this is just a name for a method of window painting, which makes the system compose the contents of a window and what's under it off-screen and then show the result in one go, and also adds alpha channel.

1) You don't.

Z-order of children is the same for layered and normal windows. You can change it, but it has nothing to do with WS_EX_LAYERED.

2) You can't.

You can specify transparent color or alpha value for layered window.

Edited by Siao

"be smart, drink your wine"

Posted

I think you expect too much out of it, misinterpreting the meaning of "layered". You're thinking photoshop layers

Oooooooooooooo... I get it now thanks for the information!!

[center]JSON Encoding UDF[/center]

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
×
×
  • Create New...