Skip to content

CreatePropExchangeObject - cCJCommandBarSystem

Creates a Property Exchange object and returns its handle

Type: Function
Return Data Type: Handle

Syntax

Function CreatePropExchangeObject Returns Handle

Call Example

Get CreatePropExchangeObject to HandleVariable

Description

CreatePropExchangeObject creates a property exchange object and returns its handle. This is an object based on the cCJPropExchange class.

The property exchange object is used to exchange configuration information between the menu system and data stored in the registry or XML. You will normally not need to deal with the object directly. The property peRestoreLayout allows you to load and restore layout information automatically. The SaveEnvironment and LoadEnvironment messages can be augmented to handle most special cases. You might need to create your own property exchange object if you wish to save additional non-command bar layout information as part of your environment.

If you call this function, it creates an object. It is your responsibility to destroy this object when you are done with it.

Return Value

Returns the handle of a newly created property exchange object.