<< Return to Main Index

< Return to Class Index

CGXWrappedGrid::InsertWGRows

virtual BOOL InsertWGRows(ROWCOL nRow, ROWCOL nCount, UINT flags = GX_UPDATENOW);

nRow

Specifies the logical row id.

nCount

Specifies the number of rows to be inserted.

flags

Specifies the update technique.

GX

UPDATENOW specifies to scroll the window contents and call UpdateWindow after invalidating the window.

GX

SMART specifies to scroll the window contents without calling UpdateWindow after the last invalidation.

GX

INVALIDATE simply invalidates the window area right of nRow.

Return Value

TRUE if the command has been successfully executed; it is FALSE if the command failed or if the user aborted the operation.

Remarks

Overridable command-method which inserts rows.

Columns are inserted with StoreInsertWGRows. The display is updated within this function.

No undo information is generated.

See Also

CGXWrappedGrid::StoreInsertWGRows

CGXWrappedGrid

Class Overview | Class Members