IPXV_Inst::ShowMsgBox Method
From PDF XChange PDF SDK
Line 33: | Line 33: | ||
== See Also == | == See Also == | ||
− | [[PXV:IPXV_Inst|IPXV_Inst]] | + | [[PXV:IPXV_Inst|IPXV_Inst]], [[PXV:IUIX_Inst_ShowMsgBox|IUIX_Inst::ShowMsgBox]], [[PXV:IPXV_Inst_ShowMsgBoxEx|IPXV_Inst::ShowMsgBoxEx]] |
Revision as of 16:50, 26 May 2015
Shows the message box in main thread.
Syntax
HRESULT ShowMsgBox([in] BSTR pText, [in, defaultvalue("")] BSTR pTitle, [in, defaultvalue("")] BSTR pHeader, [in, defaultvalue(0)] HANDLE_T hWndParent, [in, defaultvalue(0)] LONG nStyle, [out, retval, defaultvalue(NULL)] LONG_PTR* pRes);
Parameters
- pText
- [in] The text of message.
- pTitle
- [in, defaultvalue("")] The title for message box. If empty then default application's title will be used.
- pHeader
- [in, defaultvalue("")] The text of header of message.
- hWndParent
- [in, defaultvalue(0)] The optional parameter that specifies the handle of parent window.
- nStyle
- [in, defaultvalue(0)] Specifies the style of message box. See UIX_MsgBoxStyleFlags.
- pRes
- [out, retval, defaultvalue(NULL)] Returns user's choice identifier. For possible values see UIX_MsgBoxResult.
Return Value
Returns S_OK if operation was successful or error code in other cases.