<< Return to Main Index

< Return to Class Index

CGXWrappedGrid::SetWGRowBreaks

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.

Return Value

TRUE if the command was successful; FALSE if it failed.

Remarks

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.

See Also

CGXWrappedGrid::SetWGColCount CGXWrappedGrid::SetWGRowCount

CGXWrappedGrid

Class Overview | Class Members