BCGSuite for MFC
BOOL CBCGPGridCtrl::ClearRange ( const CBCGPGridRange range,
BOOL  bRedraw = TRUE,
BOOL  bQueryNonEmptyItems = FALSE,
BOOL *  pbPrevQuery = NULL 
)

Clears items in range,

This method clears grid items in the specified by range range.

Parameters
rangeSpecifies the range.
bRedrawIf TRUE, the grid control will be redrawn upon completion of this operation.
bQueryNonEmptyItemsSpecifies whether to ask user permission to clear non-empty items. If this parameter is TRUE, a message box with appropriate question is diplayed.
pbPrevQueryResult of previous query.