IPXV_Inst::SyncronizeCmdCustomization Method
From PDF XChange PDF SDK
Line 3: | Line 3: | ||
{{#customTitle:IPXV_Inst::SyncronizeCmdCustomization Method}} | {{#customTitle:IPXV_Inst::SyncronizeCmdCustomization Method}} | ||
{{#parentPage:PXV:IPXV_Inst#Methods|SyncronizeCmdCustomization|method}} | {{#parentPage:PXV:IPXV_Inst#Methods|SyncronizeCmdCustomization|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | Forces to synchronize the content of all toolbars from the specified UI-container (main frame, any sub-pane etc.) to other UI-containers with the same type. | + | 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 == | ||
;pSource | ;pSource | ||
− | :[in] Pointer to [[PXV:IUIX_Obj|IUIX_Obj]] object. | + | :[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] | + | :[in] A flags that notifies about type of 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)] | + | :[in, defaultvalue(0)] Specify <tt>true</tt> to send event <code>e.cmdCustomization</code>. |
== Return Value == | == Return Value == |
Revision as of 10:38, 27 May 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* pSource, [in] LONG nFlags, [in, defaultvalue(0)] VARIANT_BOOL bFireEvent);
Parameters
- pSource
- [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 notifies about type of customization. See UIX_CmdCustomizedFlags. Function ignores this parameter when bFireEvent is set to false.
- bFireEvent
- [in, defaultvalue(0)] Specify true to send event
e.cmdCustomization
.
Return Value
Returns S_OK if operation was successful or error code in other cases.