Jump to content
Sign in to follow this  
keen

Gui Background Image?

Recommended Posts

yep

decided to be a little more polite, look up GUICtrlCreatePic, and make you disable it

Edited 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.

 

Share this post


Link to post
Share on other sites

#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 by CHRIS95219

Share this post


Link to post
Share on other sites

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 work

Save it and fileinstall() it with your script if you have too

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  

×
×
  • Create New...