EmEditor Home - EmEditor Help - Plug-in Reference - Messages

EE_FINDA

Searches an ANSI string. You can send this message explicitly or use the Editor_FindA inline function.

EE_FINDA
    wParam = (WPARAM) (UINT) nFlags;
    lParam = (LPARAM) (LPCSTR) szFind;

Parameters

nFlags

You can specify a combination of the following values.

Value Meaning
FLAG_FIND_AROUND Moves to start/end of the text.
FLAG_FIND_CASE Matches cases.
FLAG_FIND_CLOSE Closes the dialog box after finished.
FLAG_FIND_COUNT Counts the occurrences of the matched string.
FLAG_FIND_ESCAPE Uses escape sequences.
FLAG_FIND_NEXT Searches the string downward from the cursor position. If this flag is not set, searches the string upward.
FLAG_FIND_NO_PROMPT Suppresses displaying a dialog box even if no string is found.
FLAG_FIND_ONLY_WORD Searches only words.
FLAG_FIND_REG_EXP Uses a regular expression.
FLAG_FIND_SAVE_HISTORY Saves the searched string for repeated search.

szFind

Specifies a string to search.

Return Values

If the message succeeds, the return value is nonzero. If the message fails, the return value is zero.

Feedback Send feedback on this topic to Emurasoft

Copyright © 2003-2011 by Emurasoft, Inc.