<< Return to Main Index

< Return to Class Index

CGXStylesMap::RegisterDefaultControls

void RegisterDefaultControls();

Remarks

Call this method to register all default cell types to be displayed in the CGXStyleSheet dialog.

The method will call CGXAbstractControlFactory::RegisterAllControls for registering the controls (indeed, it is simply a wrapper for the call to RegisterAllControls).

Note: This method registers controls only to appear in the CGXStyleSheet. The method CGXAbstractControlFactory::CreateControl is responsible for instantiating the control. If you don’t want a cell type to be visible in the CGXStyleSheet, you don’t have to register it here. You will still be able to use the cell type with CGXStyle::SetControl in your grid.

See Also

CGXAbstractControlFactory::RegisterAllControls

CGXStylesMap

Class Overview | Class Members