From Tracker Software PDF SDK
HRESULT OnCreateNewCtl([in] IUIX_Cmd* pCmd, [in] IUIX_CmdBar* pParent, [out] IUIX_Obj** pCtl);
- [in] Pointer to IUIX_Cmd containing the sourse command by which the object should be created.
- [in] Pointer to IUIX_CmdBar containing the parent command bar.
- [out] Pointer to IUIX_Obj containing the resulting object.
Returns S_OK if operation was successful or error code in other cases.