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

Enables or disables the ability to drag header items.

Use this function to enable or disable dragging of header items. When the dragging is enabled, the user can reorder header items (columns) and remove header items (columns).

Parameters
bEnableIf TRUE, the drag is enabled; if FALSE, the drag is disabled.