Sign in to follow this  
Followers 0
SamSavva

Custom Backround

4 posts in this topic

any way of putting in a backround.. a JPEG backround or bmp or GIF or anything? please help with command.. for GUI based autoit program

Share this post


Link to post
Share on other sites



any help?

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Personally I wouldn't think of bumping before at least a day had went by, but doing it

when it hasn't even gone 30 minutes is just way too early. Actually I would call it kind

of rude too, as you seem to demand people to come and help you instantly...

1st grade behaviour.

Edited by Helge

Share this post


Link to post
Share on other sites

#include <GUIConstants.au3>

$Width = 400
$Height = 400
$BgImage = "background.jpg"

GUICreate("", $Width, $Height)

GUICtrlCreateGraphic($BgImage,$Width,$Height)
GUICtrlSetState(-1,$GUI_DISABLE) ; The control must be disabled for it to appear behind other images

GUISetState()

While 1
      Switch GUIGetMsg()
            Case $GUI_EVENT_CLOSE
                     Exit
       EndSwitch
Wend

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