IUIX_CmdHandler::OnCreateNewCtl Method

From Tracker Software PDF SDK
Jump to: navigation, search


Creates new object based on the given command.

Syntax

HRESULT OnCreateNewCtl([in]   IUIX_Cmd*     pCmd,
                       [in]   IUIX_CmdBar*  pParent,
                       [out]  IUIX_Obj**    pCtl);

Parameters

pCmd
[in] Pointer to IUIX_Cmd containing the sourse command by which the object should be created.
pParent
[in] Pointer to IUIX_CmdBar containing the parent command bar.
pCtl
[out] Pointer to IUIX_Obj containing the resulting object.

Return Value

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

See Also

IUIX_CmdHandler