CrewXp Posted October 16, 2007 Share Posted October 16, 2007 Hey, I have a quick question. I have a background picture on my GUI, but I'm supposed to have buttons and input boxes on it. But for some reason, they don't work. When I disable the background, it works.... but i need the background. I saw you have to disable the control, and the background will still be there... but it's still not working.. Here's a little of what I have.. Func MainGui() $maingui =GUICreate("CrewKit",240,180) GUISetState() $background = GUICtrlCreatePic ("C:\Program Files\CrewKit\Bin\back.jpg", 0, 40, 240, 180) GUISetState(@SW_SHOW,$background) GuiCtrlSetState($background,$GUI_DISABLE); <----------------------------- Not working. Tried '-1' instead of $background too. [....extra GUI coding] EndFunc ps: Is there any way to make the input boxes transparent, so all that shows up is the text? (No white background input box)? Thanks. Link to comment Share on other sites More sharing options...
smashly Posted October 16, 2007 Share Posted October 16, 2007 hi,Func MainGui() $maingui = GUICreate("CrewKit", 240, 180) $background = GUICtrlCreatePic ("C:\Program Files\CrewKit\Bin\back.jpg", 0, 40, 240, 180) GUICtrlSetState(-1, $GUI_DISABLE) GUISetState(@SW_SHOW, $maingui) EndFunc Cheers 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