Sign in to follow this  
Followers 0
mike1234

Gui state

3 posts in this topic

Could anyone tell me how to detect the state of a gui, wingetstate does not work and I cannot find a guigetstate or anything that returns if the window is hidden or visible. Is there a function that can check for gui visbility?

Thanks

Share this post


Link to post
Share on other sites



WinGetState is in the help with an example, and it tells you how to detect if a window is visible.

I don't know of any problem and since you haven't shown any code I guess that you have misunderstood how to use it.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

NM found the problem looks like it doesnt work with the ,$WS_EX_TOOLWINDOW property set, once I removed it it seemed to register. Thanks.

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