virtual BOOL SetWGColBaseStyle(ROWCOL nFromWGCol, ROWCOL nToWGCol, const CGXStyle& style, GXModifyType mt = gxOverride, const CObArray* pCellsArray = NULL, UINT flags = GX_UPDATENOW, GXCmdType ctCmd = gxDo);
nFromWGCol
Specifies the first logical column.
nToWGCol
Specifies the last logical column.
style
A reference to a style-object which should be applied to the cells.
mt
Modify-Type: gxOverride, gxApplyNew, gxCopy or gxExclude (see the CGXStyle::ChangeStyle). If you want to remove style objects, you should pass gxRemove to mt and NULL to pStyle.
pCellsArray
An optional pointer to an array-object with the cell contents. The size of the array must be range.GetWidth( )*range.GetHeight( ) cells. If pCellsArray is NULL, pStyle must not be NULL.
flags
Specifies the update technique. See UpdateStyleRange for more information.
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 or if the user aborted the operation.
Call this method to set the base style of one or more logical columns.
This method just calls into SetStyleRange with a special nType id.
CGXWrappedGrid::SetWGRowBaseStyle
Class Overview | Class Members