2/10/2011

Dialogue with 2 buttons with MsgBox, InputBox, etc.

The following example displays a dialog with two buttons (YES and NO):

MsgBox, 4, , Would you like to continue?
IfMsgBox, No
    return
; Otherwise, the user picked yes.
MsgBox You pressed YES.
For more advanced tasks, use the Gui command to create custom data entry forms and user interfaces.

No comments:

Post a Comment