virtual BOOL SetWGRowBreaks(CDWordArray& aRowBreaks, CWordArray* panIndentWidths = NULL, UINT flags = GX_UPDATENOW);
aRowBreaks
Specifies the row breaks
panIndentWidths
Specifies the indent width in pixels for each wrapped row.
flags
Specifies the update technique.
TRUE if the command was successful; FALSE if it failed.
Call this method to specify the row breaks for the wrapped rows. You can optionally specify an indent width for the wrapped rows to make the wrapped rows shift to the right, by the specified indent width, from its normal position.
This function will call StoreRowBreaks to store the changes. This function will update the grid based on the flags provided. It will also generate a gxHintChangingRowBreaks hint.
Take a look at SetWGColCount for some example code.
CGXWrappedGrid::SetWGColCount CGXWrappedGrid::SetWGRowCount
Class Overview | Class Members