This [flags] enumeration provides the ability to specify which buttons should be displayed for those client interactions. When used as a parameter, multiple values can be combined with the OR (|) symbol.
Value |
Description |
---|---|
ok |
Display OK button |
yes |
Display Yes button |
no |
Display No button |
cancel |
Display Cancel button |
MacroDialogRC rc = this.ClientMessageBox("Would you like me to Logon?", "Sample Logon",
MacroMessageType.info,
MacroButtons.yes | MacroButtons.no | MacroButtons.cancel);