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

Clears items within selected ranges.

Returns
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.

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