IUIX_CmdHandler::OnNotify Method

From Tracker Software PDF SDK
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