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.
range | Specifies the range. |
bQueryNonEmptyItems | Specifies whether to ask user permission to clear non-empty items. If this parameter is TRUE, a message box with appropriate question is diplayed. |
pbPrevQuery | Result of previous query. |
bOnReplace | If TRUE, this method is called during replace operation. |