Jump to content

Splashimage


Recommended Posts

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

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 by Paulie
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...