BCGSuite for MFC
void CBCGPGridCtrl::EnableDragSelection ( BOOL  bEnable = TRUE)
inline

Enables or disables Drag Selection mode.

If Drag Selection mode is enabled, the grid starts Drag-and-Drop if the user clicks selected items.

The Drag Selection mode can't be used together with Drag Selection Border mode (see CBCGPGridCtrl::EnableDragSelectionBorder method).

To enable Drag-and-Drop call EnableDragSelection, then handle BCGM_GRID_BEGINDRAG message or override OnBeginDrag().

Parameters
bEnableTRUE- enable drag selection, FALSE - disable drag selection.