<< Return to Main Index

< Return to Class Index

CGXWrappedGrid::RemoveWGCols

virtual BOOL RemoveWGCols(ROWCOL nFromCol, ROWCOL nToCol, UINT flags  = GX_UPDATENOW);

nFromCol

Specifies the first logical column id.

nToCol

Specifies the last logical column.

flags 

Specifies the update technique.

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

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

X_INVALIDATE simply invalidates the window area right of nFromCol.

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 method which updates the window after removing the logical columns.

See Also

CGXWrappedGrid::MoveWGCols

CGXWrappedGrid

Class Overview | Class Members