ISECEditFindReplaceNotify::HasSelection

BOOL ISECEditFindReplaceNotify::HasSelection(void)

Retrieves the current selection state. The controller implements this method, and it is called by the file/replace dialog to determine whether the "replace in selection" button should be enabled. This method is included in this interface to account for modeless find/replace dialogs, where the state of the current selected text can change while the dialog is present.

Defined in: ISECEditFindReplaceNotify.h

Return Value

Returns non-zero if there is currently text selected; otherwise 0.

See Also

ISECEditFindReplaceNotify