CRichEditCtrl::GetSelectionType
WORD GetSelectionType( ) const;
Return Value
Flags indicating the contents of the current selection. A combination of the following flags:
-
SEL_EMPTY Indicates that there is no current selection.
-
SEL_TEXT Indicates that the current selection contains text.
-
SEL_OBJECT Indicates that the current selection contains at least one OLE item.
-
SEL_MULTICHAR Indicates that the current selection contains more than one character of text.
-
SEL_MULTIOBJECT Indicates that the current selection contains more than one OLE object.
Remarks
Call this function to determine the selection type in this CRichEditCtrl object.
For more information, see EM_SELECTIONTYPE in the Win32 documentation.
CRichEditCtrl Overview | Class Members | Hierarchy Chart
See Also CRichEditCtrl::GetSel, CRichEditCtrl::GetSelText