Events : MessageBoxAction event

MessageBoxAction event
Description
Fires when a user response is required.
Syntax
 
HRESULT MessageBoxAction(
[in] LONG session,
[in]LONG type,
[in] BSTR message,
[in] BSTR caption,
[out] LONG* actionToTake
);
Parameters
 
0 = The message box contains one push button: OK (MB_OK)
1 = The message box contains three push buttons: Yes, No, and Cancel (MB_OKCANCEL)
2 = The message box contains three push buttons: Abort, Retry, and Ignore (MB_ABORTRETRYIGNORE)
1 = OK
2 = CANCEL
3 = ABORT
4 = RETRY
5 = IGNORE
6 = YES
7 = NO