IUIX_Inst::ShowMsgBox Method
From PDF XChange PDF SDK
Displays simple message box with "Ok" button.
Syntax
HRESULT ShowMsgBox([in] BSTR sText, [in] BSTR sTitle, [in] BSTR sHeader, [in, defaultvalue(0)] HANDLE_T nWndParent, [in, defaultvalue(0)] LONG nStyle, [out, retval, defaultvalue(NULL)] LONG_PTR* nRes);
Parameters
- sText
- [in] specifies message box text.
- sTitle
- [in] specifies message box window title.
- sHeader
- [in] specifies header, that is displayed above the main text of message box.
- nWndParent
- [in, defaultvalue(0)]
HANDLE_T
value of parent window. - nStyle
- [in, defaultvalue(0)] style flags of message box. See UIX_MsgBoxStyleFlags enumeration for full list of message box style flags.
- nRes
- [out, retval, defaultvalue(NULL)] result value. See UIX_MsgBoxResult enumeration for full list of possible message box results.
Return Value
Returns S_OK if operation was successful or error code in other cases.