IPXV_Inst::SyncronizeCmdCustomization Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(11 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Inst::SyncronizeCmdCustomization Method}}
 
{{#customTitle:IPXV_Inst::SyncronizeCmdCustomization Method}}
{{#parentPage:PXV:IPXV_Inst#Methods|SyncronizeCmdCustomization Method|method}}
+
{{#parentPage:PXV:IPXV_Inst#Methods|SyncronizeCmdCustomization|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
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 ==
 
== Syntax ==
Line 15: Line 14:
 
== Parameters ==
 
== Parameters ==
 
;pISource
 
;pISource
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
+
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]] object. For example, here you may pass the UI-object of [[PXV:IPXV_MainFrame|IPXV_MainFrame]] to make the same toolbars layout/content in all other main frames.
 
;nFlags
 
;nFlags
:[in]  Value of LONG.
+
:[in]  A flags that indicates about type of the toolbars customization (see [[PXV:UIX_CmdCustomizedFlags|UIX_CmdCustomizedFlags]]). Function ignores this parameter when <tt>bFireEvent</tt> is set to <tt>false</tt>.
 
;bFireEvent
 
;bFireEvent
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(0)]  Specify <tt>true</tt> to send the <code>e.cmdCustomization</code> event to notify other handlers about new toolbars customization.
  
 
== Return Value ==
 
== Return Value ==
Line 25: Line 24:
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXV_Inst|IPXV_Inst]].
+
[[PXV:IPXV_Inst|IPXV_Inst]]

Latest revision as of 03:58, 15 June 2015


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*     pISource,
                                   [in]                   LONG          nFlags,
                                   [in, defaultvalue(0)]  VARIANT_BOOL  bFireEvent);

Parameters

pISource
[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.
nFlags
[in] A flags that indicates about type of the toolbars customization (see UIX_CmdCustomizedFlags). Function ignores this parameter when bFireEvent is set to false.
bFireEvent
[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