BCGSuite for MFC
void CBCGPGridCtrl::SetSelectionBorder ( BOOL  bEnabled = TRUE)

Enables or disables a selection border around grid items.

Use this function to specify whether the selection border is enabled or disabled. When enabled, the grid control draws a frame around selected items. When disabled, the grid control does not draw selection frame. By default, the selection border is enabled.

bEnabledTRUE - enable border; FALSE - disable border.