ListSearchText
ListSearchText is called when the user tries to find text in the plugin. Don't implement this function if your plugin doesn't contain any text, or doesn't support text searches!
Declaration:
int __stdcall ListSearchText(HWND ListWin,char* SearchString,int SearchParameter);
Description of parameters:
ListWin Hande to your list window created with
ListLoad
SearchString String to be searched.
SearchParameter A combination of the following search flags:
lcs_findfirst Search from the beginning of the first displayed line (not set: find next)
lcs_matchcase The search string is to be treated case-sensitively.
lcs_wholewords Find whole words only.
lcs_backwards Search backwards towards the beginning of the file.
Return value:
Return either LISTPLUGIN_OK or LISTPLUGIN_ERROR.
Remarks:
The plugin needs to highlight/select the found text by itself.