BCGSuite for MFC
CString CBCGPEditCtrl::GetSelText ( ) const

Retrieves the text from the current selection

Returns
The string containing the current selection.

Call this function to retrieve the text from the current selection in this CBCGPEditCtrl object.