IUIX_CmdHandler::OnNotify Method

From PDF XChange PDF SDK
Revision as of 02:27, 4 April 2016 by Palamar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Used to notify the execution of the command. When used in custom command handler implementation will handle the command execution.

Syntax

HRESULT OnNotify([in]  LONG           nCode,
                 [in]  IUIX_Cmd*      pCmd,
                 [in]  IUIX_CmdItem*  pItem,
                 [in]  IUIX_Obj*      pOwner,
                 [in]  PARAM_T        nNotifyData);

Parameters

nCode
[in] Value of LONG containing the notify code.
pCmd
[in] Pointer to IUIX_Cmd containing the command that will be handled.
pItem
[in] Pointer to IUIX_CmdItem containing the command item that will be handled.
pOwner
[in] Pointer to IUIX_Obj containing the owner object of the command.
nNotifyData
[in] Value of PARAM_T containing the additional notification data.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IUIX_CmdHandler