thomaatje Posted November 2, 2007 Posted November 2, 2007 Hello I'm new to AutoIt and i want to know how to set an image as background for my program... Thanks
thomaatje Posted November 2, 2007 Author Posted November 2, 2007 (edited) Would be great if someone can help me Edited November 2, 2007 by Forsaken
Madza91 Posted November 2, 2007 Posted November 2, 2007 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) :)
Madza91 Posted November 2, 2007 Posted November 2, 2007 [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) :)
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