virtual BOOL SetWGRowBaseStyle(ROWCOL nFromWGRow, ROWCOL nToWGRow, const CGXStyle& style, GXModifyType mt = gxOverride, const CObArray* pCellsArray = NULL, UINT flags = GX_UPDATENOW, GXCmdType ctCmd = gxDo);
nFromWGRow
Specifies the first logical row.
nToWGRow
Specifies the last logical row.
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 after converting the logical rows into absolute rows.
CGXWrappedGrid::SetWGColBaseStyle
Class Overview | Class Members