Jump to content

GUICtrlGetState() return values...


Recommended Posts

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?

qq

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

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

qq

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...