IPXV_Inst::SyncronizeCmdCustomization Method

From PDF XChange PDF SDK
Revision as of 07:34, 12 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search


Forces to synchronize the layout/content of all toolbars from the specified UI-container (main frame, any sub-pane etc.) to other UI-containers with the same type.

Syntax

HRESULT SyncronizeCmdCustomization([in]                   IUIX_Obj*     ISource,
                                   [in]                   LONG          Flags,
                                   [in, defaultvalue(0)]  VARIANT_BOOL  FireEvent);

Parameters

ISource
[in] Pointer to IUIX_Obj object. For example, here you may pass the UI-object of IPXV_MainFrame to make the same toolbars layout/content in all other main frames.
Flags
[in] A flags that indicates about type of the toolbars customization (see UIX_CmdCustomizedFlags). Function ignores this parameter when FireEvent is set to false.
FireEvent
[in, defaultvalue(0)] Specify true to send the e.cmdCustomization event to notify other handlers about new toolbars customization.

Return Value

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

See Also

IPXV_Inst