Jump to content

Recommended Posts

Posted

Look at the return-values of MsgBox in the helpfile.

Use If/EndIf to check the returned value and make it perform actions correspondingly.

Posted (edited)

Seems strange at your 112 post count but here goes....

$result = MsgBox(4, "Question", "Yes or No")

If $result = 6 Then
    MsgBox(0, $result, 'You pressed Yes')
ElseIf $result = 7 Then
    MsgBox(0, $result, 'You pressed No')
EndIf

Does that help you? ;)

Edit:

Hold on. Flag 4 is Yes/No :lmao:

Edit: corrected code.

Edited by MHz

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
  • Recently Browsing   0 members

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