Jump to content
Sign in to follow this  

Quick Help. Can't get the background for my GUI to disable.

Recommended Posts

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)
$background = GUICtrlCreatePic ("C:\Program Files\CrewKit\Bin\back.jpg", 0, 40, 240, 180)
GuiCtrlSetState($background,$GUI_DISABLE); <----------------------------- Not working. Tried '-1' instead of $background too.
[....extra GUI coding]

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.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...