BCGSuite for MFC
BOOL CBCGPEdit::IsSearchMode ( ) const

Specifies whether the edit control is working the "search" mode.

Returns TRUE, if the edit control is working in "search" mode; otherwise FALSE.

In "search" mode the edit control displays a string defined by lpszPrompt (when no text is entered) and a "search" icon at the right side. When the user begins to type text, the prompt is cleared and a "clear" icon appears in place of the "search" icon. A click on the "clear" icon clears the entered text and brings back the "search" icon. You can enable or disable "search" mode using EnableSearchMode() method.