virtual void SelectWGRange(const CGXRange& range, BOOL bSelect = TRUE, BOOL bUpdate = TRUE);
range
Reference to a range of logical cells to be selected or deselected.
bSelect
TRUE if the range shall be selected; FALSE if the range shall be deselected.
bUpdate
TRUE if the change grid shall be made visible; FALSE if the grid shall not be updated.
Selects or deselects a range of logical cells, rows or columns and inverts the cells.
The rangelist is adapted by calling StoreWGSelectRange; the display is updated with a call to Redraw.
There is also another method SetWGSelection (the equivalent of CGXGridCore::SetSelection) which allows you to select ranges. SetWGSelection is more advanced and only works with ranges stored in the range-list.
SelectWGRange is simpler in that you can directly pass a range and you don’t have to take care of allocating new ranges and adding them to the range-list.
Class Overview | Class Members