BCGControlBar Pro for MFC
BOOL CBCGPGridCtrl::CanClearRange ( const CBCGPGridRange range,
BOOL  bQueryNonEmptyItems = FALSE,
BOOL *  pbPrevQuery = NULL,
BOOL  bOnReplace = FALSE 
)

Tells whether all items in the specified range can be cleared.

This function returns TRUE, if all items in the specified range can be cleared.

Parameters
rangeSpecifies the range.
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.
bOnReplaceIf TRUE, this method is called during replace operation.