Sign in to follow this  
Followers 0
keen

Gui Background Image?

10 posts in this topic

Is it possable to have a GUI background Image?


[center]Kesne's Bar & Grill[/center]

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

I dont get it. anyone help?


[center]Kesne's Bar & Grill[/center]

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.


[center]Kesne's Bar & Grill[/center]

Share this post


Link to post
Share on other sites

#6 ·  Posted (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 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

How can i do that with a URL for the image?


[center]Kesne's Bar & Grill[/center]

Share this post


Link to post
Share on other sites

Got it working. Thanks.


[center]Kesne's Bar & Grill[/center]

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  
Followers 0