BOOL ChangeColHeaderStyle(const CGXStyle& style, GXModifyType mt = gxOverride, UINT nFlags = GX_UPDATENOW, GXCmdType ctCmd = gxDo);
style
A reference to a style-object which should be applied to the base-style.
mt
Modify-Type: gxOverride, gxApplyNew, gxCopy or gxExclude (see CGXStyle::ChangeStyle).
nFlags
GX_INVALIDATE - invalidates the window
ctCmd
Specifies if the executed command is undone (gxUndo), redone (gxRedo), executed the first time (gxDo) or rolled back (gxRollback).
TRUE if the command has been successfully executed; it is FALSE if the command failed.
Lets you change the column-header-style settings.
The column-header-style is the base-style for all column-headers in the grid. Every column-header-cell in the grid inherits those attributes from the column-header-style which are not explicitly specified in the cell or any other base-styles.
ChangeColHeaderStyle will call ChangeBaseStyle to change the column-header-style. See ChangeBaseStyle for more information.
Class Overview | Class Members