Button IDs

>Button Identifiers

Button IDs

The MessageBox() Windows API will return the ID of the button that was pressed. See also Flags for MessageBox()

DEF ENUM enumeration name KCML_BUTTON_ENUM

Enumeration ValueValueDescription
_IDOK1OK
_IDCANCEL2Cancel
_IDABORT3Abort
_IDRETRY4Retry
_IDIGNORE5Ignore
_IDYES6Yes
_IDNO7No
_IDCLOSE8Close
_IDHELP9Help
_IDTRYAGAIN10Try Again
_IDCONTINUE11Continue

Back to the list of Enumerations and Constants