BCGControlBar Pro for MFC
virtual BOOL CBCGPGridCtrl::Clear ( BOOL  bQueryNonEmptyItems = TRUE)

Clears items within selected ranges.

TRUE if there was at least one item selected, and selected items can be cleared; otherwise FALSE.

This method clears (makes empty) grid items within selected ranges.

bQueryNonEmptyItemsSpecifies whether to ask user permission to clear non-empty items. If this parameter is TRUE, a message box with appropriate question is diplayed.