CGXStylesMap::GetStyleName

LPCTSTR GetStyleName(WORD wStyleId) const;

LPCTSTR GetStyleName(WORD wStyleId, UINT& nResourceId) const;

wStyleId

Specifies the base-style id (previously returned from RegisterStyle).

nResourceId

A reference to an integer. This will receive the string resource id where the string resource contains the base style name. 0 if the base style was not registered with the resource id.

Return Value

A pointer to the style name for the specified base-style id.

Remarks

Returns the style name for the specified base-style id.

The style must have been registered with RegisterStyle before.

See Also

 CGXStylesMap::RegisterStyle  CGXGridCore::BaseStyle  CGXStyle::SetBaseStyle

CGXStylesMap

 Class Overview |  Class Members