Sign in to follow this  
Followers 0
buzz44

GUICtrlGetState() return values...

3 posts in this topic

I have a picture created with GUICtrlCreatePic()

My script is very small and the picture appears to get its state set to hidden some how.

Normally its state is 80, when not disabled, 144 when disabled and 160 when 'hidden' what do this numbers mean?


[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

Share this post


Link to post
Share on other sites



I have a picture created with GUICtrlCreatePic()

My script is very small and the picture appears to get its state set to hidden some how.

Normally its state is 80, when not disabled, 144 when disabled and 160 when 'hidden' what do this numbers mean?

<{POST_SNAPBACK}>

Try;
ConsoleWrite("$GUI_ENABLE,$GUI_SHOW" & BitOr ($GUI_ENABLE,$GUI_SHOW) & @lf  );80
ConsoleWrite("$GUI_DISABLE,$GUI_SHOW" & BitOr ($GUI_DISABLE,$GUI_SHOW) & @lf);144
ConsoleWrite("$GUI_ENABLE,$GUI_HIDE" & BitOr ($GUI_ENABLE,$GUI_HIDE) & @lf);96
ConsoleWrite("$GUI_DISABLE,$GUI_HIDE" & BitOr ($GUI_DISABLE,$GUI_HIDE) & @lf);160

Explains it all

Share this post


Link to post
Share on other sites

Thanks. Well apparently my picture, which it does not even have a controlID, gets its state set to $GUI_HIDE somehow... I'm not sure how thats even possible by when I do a sequence of things in order I can make it happen...

Off to investigate...


[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

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