IPXV_Inst::ShowMsgBox Method

From PDF XChange PDF SDK
Revision as of 07:33, 12 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search


Shows the message box in main thread.

Syntax

HRESULT ShowMsgBox([in]                               BSTR       Text,
                   [in, defaultvalue("")]             BSTR       Title,
                   [in, defaultvalue("")]             BSTR       Header,
                   [in, defaultvalue(0)]              HANDLE_T   hWndParent,
                   [in, defaultvalue(0)]              LONG       Style,
                   [out, retval, defaultvalue(NULL)]  LONG_PTR*  Res);

Parameters

Text
[in] The text of message.
Title
[in, defaultvalue("")] The title for message box. If empty then default application's title will be used.
Header
[in, defaultvalue("")] The text of header of message.
hWndParent
[in, defaultvalue(0)] The optional parameter that specifies the handle of parent window.
Style
[in, defaultvalue(0)] Specifies the style of message box. See UIX_MsgBoxStyleFlags.
Res
[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.

See Also

IPXV_Inst, IUIX_Inst::ShowMsgBox, IPXV_Inst::ShowMsgBoxEx