Sign in to follow this  
Followers 0
TTAJohn08

MSGBox return value

3 posts in this topic

How do i check what button was pressed in a message box. specificaly a yes/no/cancel msgbox. I know that the values of yes and no should be 6 and 7 but how do i recieve that msg. When i try to use GUIGetMsg() i only get the value 96. Any ideas anyone?

Share this post


Link to post
Share on other sites



$result = MsgBox()

ConsoleWrite("Selected value: " & $result)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

$result = MsgBox()

ConsoleWrite("Selected value: " & $result)

thank you a ton. im about to try that out now

EDIT: Worked perfectly, thanx again

Edited by TTAJohn08

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