Stretch Posted August 18, 2006 Share Posted August 18, 2006 Hello Really simple question im sure - I cant think of how to do this. I have a program that has some message boxes pop up with user questions. I want to put an image covering the desktop, but have my boxes apear ontop. Ive got this - SplashImageOn ("" , "DPC6.jpg ",1024,768, -1 , -1 , 3 ) But it goes as soon as a message box appears... Any ideas how i can make it stay on? MArk. Link to comment Share on other sites More sharing options...
Paulie Posted August 18, 2006 Share Posted August 18, 2006 (edited) Hello Really simple question im sure - I cant think of how to do this. I have a program that has some message boxes pop up with user questions. I want to put an image covering the desktop, but have my boxes apear ontop. Ive got this - SplashImageOn ("" , "DPC6.jpg ",1024,768, -1 , -1 , 3 ) But it goes as soon as a message box appears... Any ideas how i can make it stay on? MArk.Splashimageon is meant to be used when you want an image to be the focus To do whay you want, make a background GUI that has a fullscreen pic #Include <GUIConstants.au3> $Window = GUICreate("", @DesktopWidth, @DesktopHeight, -1, -1, $WS_POPUP) $Pic = GuiCtrlCreatePic("*FileName*", 0,0,@DesktopWidth, @DesktopHeight) GUICtrlSetBkColor($pic, $GUI_BKCOLOR_TRANSPARENT) GUISetState() While 1 $Msg = GUIGetMsg() If $Msg = $GUI_EVENT_CLOSE then Exitloop Wend Edited August 18, 2006 by Paulie Link to comment Share on other sites More sharing options...
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