Sign in to follow this  
Followers 0
thomaatje

Background...

5 posts in this topic

Hello

I'm new to AutoIt and i want to know how to set an image as background for my program...

Thanks

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Would be great if someone can help me <_<

Edited by Forsaken

Share this post


Link to post
Share on other sites

You can to create picture and disable it:

#include <GuiConstants.au3>

GuiCreate("MyGUI", 400, 400,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

$Pic_1 = GuiCtrlCreatePic(@Systemdir & "\oobe\images\mslogo.jpg", 0, 0, 400, 400)
GUICtrlSetState( -1, $GUI_DISABLE)

GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
    ;;;
    EndSelect
WEnd
Exit

[quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)

Share this post


Link to post
Share on other sites

Thanks <_<

Share this post


Link to post
Share on other sites
<_<

[quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)

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