Jump to content
Sign in to follow this  
BAM5

Hmmm Layered GUIs

Recommended Posts

BAM5

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]

Share this post


Link to post
Share on other sites
DirtDBaK

layered gui's like one inside another? Check the last line in my signature


[center][/center]

Share this post


Link to post
Share on other sites
Siao

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"

Share this post


Link to post
Share on other sites
BAM5

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]

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.