BCGControlBar Pro for MFC
BOOL CBCGPEditCtrl::HasSelection ( ) const

Tells whether the edit control has selected text.