Sign in to follow this  
Followers 0
bgl

How To Detect Gui State?

3 posts in this topic

Hello everybody!

I have a small GUI which is placed above a part of the system tray.

GUICreate( "bgl", 10, 10, 10, 10, -1, $WS_EX_TOPMOST )

After clicking an icon on the quick launch bar or the system tray my GUI vanishes. Is there a possibility to detect this and to reset the GUI to the top?

Thanks for Your Help!

bgl

Share this post


Link to post
Share on other sites



Welcome to the Forums..

Maybe try

WinSetOnTop()

see help

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Hello Valuater,

Thanks for your reply.

Your solutions works and it seems that it does not influence the CPU usage. I feared that because I do WinSetOnTop after each GUIGetMsg to get my GUI stable on top.

Many Thanks!

bgl

P.S.: I just saw your Floating ToolBar. Maybe WinSetOnTop would be a addition to this project.

Edited by bgl

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  
Followers 0