<< Return to Main Index

< Return to Class Index

CGXStyle::WriteProfile

virtual void WriteProfile(LPCTSTR pszSection , const CGXStylesMap* pStylesMap);

pszSection

Null-terminated string specifying the profile section.

pStylesMap

Pointer to the stylesmap object that holds all the base styles.

Remarks

Writes the style to the profile section specified through pszSection.

Only those attributes are written to the profile which are included. All others are removed from the profile.

Control-Factory Specific ->

This method has been implemented using the abstraction mechanism as discussed in the chapter "Reducing the size of your application" in the user's guide. A call to the CGXStyle::ImplementProfile method from within the control factory class' InitializeApplicationComponents method will make the concrete implementation of this method available to your application.

If no concrete implementation is available this method performs no action. A warning will be displayed in the debug window.

END Control-Factory Specific

See Also

CGXStyle::ReadProfile

CGXStyle

Class Overview | Class Members