Property Pages (MFC)
Property pages display the current values of specific OLE control properties in a customizable, graphical interface for viewing and editing by supporting a data-mapping mechanism based on dialog data exchange (DDX).
This data-mapping mechanism maps property page controls to the individual properties of the OLE control. The value of the control property reflects the status or content of the property page control. The mapping between property page controls and properties is specified by DDP_ function calls in the property page's DoDataExchange member function. The following is a list of DDP_ functions that exchange data entered using the property page of your control:
Property Page Data Transfer
Links the selected string's index in a combo box with a control's property. |
|
Links the selected string in a combo box with a control's property. The selected string can begin with the same letters as the property's value but does not need to match it fully. |
|
Links the selected string in a combo box with a control's property. The selected string and the property's string value must match exactly. |
|
Links a check box in the control's property page with a control's property. |
|
Links the selected string's index in a list box with a control's property. |
|
Links the selected string in a list box with a control's property. The selected string can begin with the same letters as the property's value but need not match it fully. |
|
Links the selected string in a list box with a control's property. The selected string and the property's string value must match exactly. |
|
Finishes the transfer of property values from your control. |
|
Links a radio button group in the control's property page with a control's property. |
|
Links a control in the control's property page with a control's property. This function handles several different types of properties, such as double, short, BSTR, and long. |
For more information about the DoDataExchange function and property pages, see the article ActiveX Controls: Property Pages.
The following is a list of macros used to create and manage property pages for an OLE control:
Property Pages
Begins the list of property page IDs. |
|
Ends the list of property page IDs. |
|
Declares a property page of the control class. |