keen Posted October 18, 2006 Share Posted October 18, 2006 Is it possable to have a GUI background Image? [center]Kesne's Bar & Grill[/center] Link to comment Share on other sites More sharing options...
GaryFrost Posted October 18, 2006 Share Posted October 18, 2006 (edited) yep decided to be a little more polite, look up GUICtrlCreatePic, and make you disable it Edited October 18, 2006 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
keen Posted October 19, 2006 Author Share Posted October 19, 2006 I dont get it. anyone help? [center]Kesne's Bar & Grill[/center] Link to comment Share on other sites More sharing options...
Paulie Posted October 19, 2006 Share Posted October 19, 2006 I dont get it. anyone help?GuiCtrlCreatePicThat help? Link to comment Share on other sites More sharing options...
keen Posted October 19, 2006 Author Share Posted October 19, 2006 No i mean how do i get it to be a background image and i have the url for the image. So yea. [center]Kesne's Bar & Grill[/center] Link to comment Share on other sites More sharing options...
cppman Posted October 19, 2006 Share Posted October 19, 2006 (edited) #include <GUIConstants.au3> $img = @WindowsDir & "\Greenstone.bmp" GUICreate("", 500, 500) GUICtrlCreatePic($img, 0, 0, 500, 500) GUICtrlSetState(-1, $GUI_DISABLE) GUICtrlCreateLabel("This is my label test!", 10, 10, 200) GUICtrlSetBkCOlor(-1, $GUI_BKCOLOR_TRANSPARENT) GUICtrlSetFont(-1, 12, 20, 0, "Comic Sans MS") $button = GUICtrlCreateButton("My Button", 150, 150, 100, 20) GUISetState() While (GUIGetMsg() <> -3) if (GUIGetMsg() == $button) Then MsgBox(0, "", "You Clicked the button!") WEnd oÝ÷ Ú'ò¢æ«zÚòx-¢¶W¨}ûaz)íz¹Þ¶Úò¶¬¢wºÚ"µÍÚ[ÛYH ÑÕRPÛÛÝ[Ë]LÉÝÂS]Ù] ][ÝÚËÝÝÝË[Z[ÝË[[ØØKÛÛKÚ[XYÙÌÌKÑÜ[ÙÐÚÉ][ÝË[ [È ][ÝÉÌLÝ[ÚY][ÝÊBÌÍÚ[YÈH[ [È ][ÝÉÌLÝ[ÚY][ÝÂÕRPÜX]J ][ÝÉ][ÝË L L BÕRPÝÜX]TXÊ ÌÍÚ[YË L L BÕRPÝÙ]Ý]JLK ÌÍÑÕRWÑTÐPJBÕRPÝÜX]SX[ ][ÝÕÈÈ^HX[Ý ÌÌÎÉ][ÝËLL BÕRPÝÙ]ÐÓÛÜLK ÌÍÑÕRWÐÐÓÓÔÕSÔTS BÕRPÝÙ]Û LKL ][ÝÐÛÛZXÈØ[ÈTÉ][ÝÊBÌÍØ]ÛHÕRPÝÜX]P]Û ][ÝÓ^H]Û][ÝËMLMLL BÕRTÙ]Ý]J BÚ[H JBZY ÕRQÙ]ÙÊ HOHLÊH[^][Q[]J[[É][ÝÉÌLÝ[ÚY][ÝÊB[YZY ÕRQÙ]ÙÊ HOH ÌÍØ]ÛH[ÙÐÞ ][ÝÉ][ÝË ][ÝÖ[ÝHÛXÚÙYH]ÛÌÌÎÉ][ÝÊBÑ[ Edited October 19, 2006 by CHRIS95219 Miva OS Project Link to comment Share on other sites More sharing options...
Paulie Posted October 19, 2006 Share Posted October 19, 2006 No i mean how do i get it to be a background image and i have the url for the image. So yea.If you are tring to use a URL from the internet as your picture, i don't think it will workSave it and fileinstall() it with your script if you have too Link to comment Share on other sites More sharing options...
keen Posted October 19, 2006 Author Share Posted October 19, 2006 How can i do that with a URL for the image? [center]Kesne's Bar & Grill[/center] Link to comment Share on other sites More sharing options...
cppman Posted October 19, 2006 Share Posted October 19, 2006 I just updated my last post with an example. Miva OS Project Link to comment Share on other sites More sharing options...
keen Posted October 19, 2006 Author Share Posted October 19, 2006 Got it working. Thanks. [center]Kesne's Bar & Grill[/center] 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