CGXGridParam::SetStylesMap

void SetStylesMap(CGXStylesMap* pStylesMap, BOOL bMustDelete = TRUE);

pStylesMap

A pointer to the properties object.

bMustDelete

Specifies if the object should be destroyed when the parameter object is destroyed.

Remarks

Attaches a styles map object to the parameter object.

If the parameter object already owns a pointer to a styles map object, the old one is replaced and if necessary deleted.

The styles map maintains base styles such as the Standard-style, the Column Header-style and the Row Header-style which define the default styles. It also maintains a map of controls and user-attributes to be used in the grid.

See Also

 CGXStylesMap  CGXGridCore::StandardStyle  CGXGridCore:BaseStyle  CGXStyle::SetBaseStyle  CGXGridParam::GetStylesMap

CGXGridParam

 Class Overview |  Class Members