Jump to content
Sign in to follow this  

Windows State Info

Recommended Posts


Hi Everyone.

For WinGetState, is it possible to see if the Window is hidden or not? Also, for the return value, if window is active and enabled will the values sums up?

Just one more question. What's the difference between enable a windows and disable a windows. What can you do and what can you not do.

Thanks in Advance.


Share this post

Link to post
Share on other sites

Return Value

Success: Returns a value indicating the state of the window. Multiple values are added together so use BitAND() to examine the part you are interested in:

1 = Window exists

2 = Window is visible

4 = Windows is enabled

8 = Window is active

16 = Window is minimized

32 = Windows is maximized

Failure: Returns 0 and sets @error to 1 if the window is not found.

active and enabled 12

and if its just 1 i think it means it's hidden not sure though

Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

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