Jump to content
Sign in to follow this  

MessageBox Help

Recommended Posts

SplashImage won't stay on the screen?


;MsgBox features: Title=Yes, Text=Yes, Buttons=Yes, No, and Cancel, Icon=Question

If Not IsDeclared("iMsgBoxAnswer") Then Local $iMsgBoxAnswer

$iMsgBoxAnswer = MsgBox(35,"What To Do?","Yes,No,Cancal",60)


Case $iMsgBoxAnswer = 6 ;Yes

Case $iMsgBoxAnswer = 7 ;No

Case $iMsgBoxAnswer = 2 ;Cancel


If $iMsgBoxAnswer=6 Then SplashImageOn("Yes","C:\Image0.bmp","500","727","-1","-1",16)

If $iMsgBoxAnswer=7 Then SplashImageOn("No","no.bmp","32","32","-1","-1",16)

If $iMsgBoxAnswer=2 Then SplashImageOn("What","C:\what.bmp","48","48","-1","-1",16)


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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...