Jump to content

How To Detect Gui State?


bgl
 Share

Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

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