Sign in to follow this  
Followers 0
Stretch

Splashimage

2 posts in this topic

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.

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Paulie

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