NeedCoffee Posted June 13, 2011 Share Posted June 13, 2011 (edited) Hello,Solved I was setting the GUISetState to @SW_HIDE from the start then using WinSetState to @SW_SHOW the window, so the GUI was Never set to show. I changed the GUISetState to @SW_SHOW and now when I hide and re show it everything works. So to bother you guys now. I have made two programs both with gui's, now Ihave set a button on one when pressed it hides/shows the other one. I am using this WinSetState("MainGUI", "", @SW_HIDE) ; AND WInSetState("MainGUI", "", @SW_SHOW)It works fine on hide and show but when it is re-activated from hide to show the buttons dont work anymore, the slider works fine.Now I am using GUICtrlCreatePic for the buttons so they are pictures instead of GUICtrlCreateButton.Any Ideas of what is happening here ? Edited June 13, 2011 by NeedCoffee Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now