Manjish Posted August 14, 2009 Share Posted August 14, 2009 Hi, I am sick of the plain colors as GUi backgrounds.. I have this nice texturized backgroung image. How Do I apply it to my GUI as the background!! I want to do a GUI like this image: with edit boxes in plain white and background in texturized blue.. [font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com Link to comment Share on other sites More sharing options...
Valuater Posted August 14, 2009 Share Posted August 14, 2009 Like this... GUICreate("My GUI") GUICtrlCreatePic( @ScriptDir & "\MyPic.jpg", 0, 0 400, 500) GUICtrlSetState( -1, $GUI_DISABLE) ; VERY IMPORTANT ; also create the edits and inputs as needed GUISetState() 8) Link to comment Share on other sites More sharing options...
Manjish Posted August 14, 2009 Author Share Posted August 14, 2009 thanks that worked!! But i have another problem.. How do I make the background of gui items transperant? Like in below image, the labels have their own background color which is making the gui look bad.. how do i make this transperant so that my bk will look proper? I know guictrlsetcolor() won't do the job.. [font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com Link to comment Share on other sites More sharing options...
BigDod Posted August 14, 2009 Share Posted August 14, 2009 thanks that worked!! But i have another problem.. How do I make the background of gui items transperant? Like in below image, the labels have their own background color which is making the gui look bad.. how do i make this transperant so that my bk will look proper? I know guictrlsetcolor() won't do the job.. Use GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT) Just after creating label Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Manjish Posted August 14, 2009 Author Share Posted August 14, 2009 Hi thanks this is working fine for labels.. But doesn't work for input boxes.. any ideas how I can apply the same for input boxes and edit controls too? [font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com Link to comment Share on other sites More sharing options...
BrettF Posted August 14, 2009 Share Posted August 14, 2009 *SEARCH* Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! 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