Jump to content
Sign in to follow this  
PantZ4

Z Order Of Child GUI's?

Recommended Posts

PantZ4

Can I set the z order of a child GUI while having other child displaying?

In my example, I have a GUI, Main, and I have a welcome child GUI. Now the user maybe press exit here, then I want a half transparent black child GUI to appear.

My problem is that the welcome is always on top no matter what styles and extend styles I use on the semi-transparent black child GUI.

Main Style is default

Welcome Child GUI style is $WS_Child

Black Child GUI style is $WS_Child+$DS_SetForeground

I couldn't spot anything that orders z level of a GUI.

Share this post


Link to post
Share on other sites
Malkey

Can I set the z order of a child GUI while having other child displaying?

............

I couldn't spot anything that orders z level of a GUI.

Have you looked at _WinAPI_SetWindowPos() function.

Share this post


Link to post
Share on other sites
PantZ4

Thank you so much. Can't believe that I haven't found that function before.

Again thank you :).

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  

×