IUIX_CmdHandler::OnNotify Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_CmdHandler::OnNotify Method}} | {{#customTitle:IUIX_CmdHandler::OnNotify Method}} | ||
− | {{#parentPage:PXV:IUIX_CmdHandler#Methods|OnNotify | + | {{#parentPage:PXV:IUIX_CmdHandler#Methods|OnNotify|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Used to notify the execution of the command. When used in custom command handler implementation will handle the command execution. | |
== Syntax == | == Syntax == | ||
Line 13: | Line 12: | ||
[in] IUIX_CmdItem* pItem, | [in] IUIX_CmdItem* pItem, | ||
[in] IUIX_Obj* pOwner, | [in] IUIX_Obj* pOwner, | ||
− | [in] PARAM_T | + | [in] PARAM_T nNotifyData);</pre> |
== Parameters == | == Parameters == | ||
;nCode | ;nCode | ||
− | :[in] Value of LONG. | + | :[in] Value of LONG containing the [[PXV:UIX_CmdNotifyCodes|notify code]]. |
;pCmd | ;pCmd | ||
− | :[in] Pointer to [[PXV:IUIX_Cmd|IUIX_Cmd]]. | + | :[in] Pointer to [[PXV:IUIX_Cmd|IUIX_Cmd]] containing the command that will be handled. |
;pItem | ;pItem | ||
− | :[in] Pointer to [[PXV:IUIX_CmdItem|IUIX_CmdItem]]. | + | :[in] Pointer to [[PXV:IUIX_CmdItem|IUIX_CmdItem]] containing the command item that will be handled. |
;pOwner | ;pOwner | ||
− | :[in] Pointer to [[PXV:IUIX_Obj|IUIX_Obj]]. | + | :[in] Pointer to [[PXV:IUIX_Obj|IUIX_Obj]] containing the owner object of the command. |
− | ; | + | ;nNotifyData |
− | :[in] Value of PARAM_T. | + | :[in] Value of PARAM_T containing the additional notification data. |
== Return Value == | == Return Value == | ||
Line 31: | Line 30: | ||
== See Also == | == See Also == | ||
− | [[PXV:IUIX_CmdHandler|IUIX_CmdHandler]] | + | [[PXV:IUIX_CmdHandler|IUIX_CmdHandler]] |
Latest revision as of 02:27, 4 April 2016
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.