CNiNumEdit::ExportStyle

CNi

Class
CNiNumEdit::
ExportStyle()
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: CreateControlNext page: GetClsid    
Public Function Declared in:
NiNumedit.h

'Declaration' icon -- Shortcut to top of page. Declaration

void ExportStyle(
    LPCTSTR fileName);

'Description' icon -- Shortcut to top of page. Description

Exports the style of the control to a file.

Notes:

1. A style is the complete current state of a control. For example, on a CNiSlide control the current values of pointers, all colors, all fonts, and all imported images are examples of a current state that is saved as a style.

2. Use ExportStyle to save the style of a control after you have configured it. For example, if you often create a new CNiNumEdit control and set properties such as appearance, border style, and text alignment, you can save the style of a numedit control once you have configured it. Then, when you want to create a numedit control of the same style, create a new numedit control, access the property pages, and import the exported style using ImportStyle.

3. You can import or export a style from the property page or you can import it or export it programmatically using ImportStyle or ExportStyle.

Shortcut to top of page. Parameters

LPCTSTR fileName

The name of the style file to save.

'See Also' icon -- Shortcut to top of page. See Also