IUIX_CmdHandler::OnCreateNewCtl Method

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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