Siliconetics Developer Center 
(609) 7607027
admin@srcsb.com
Untitled Document
SearchSearch:
ClassMethodLocate, LocateW


DESCRIPTION:
Find a record based on a search text without using the index system.

ClassCLASS: CFlitBase

PROTOTYPE(S):
int Locate(LPCSTR String, int Type, int TextGrpID, int TextID, int StartPos, HWND hResponseWnd = NULL, bool DespatchMsg = false);
int LocateW(LPCWSTR String, int Type, int TextGrpID, int TextID, int StartPos, HWND hResponseWnd = NULL, bool DespatchMsg = false);


ARGUMENT(S):
LPCSTR StringThe string to search for.
int TypeThe record type.
int TextGrpIDText group id to search to.
int TextIDText id to search to.
int StartPosThe position to start the search.
HWND hResponseWndThe Windows handle used by function to send the progress messages.
bool DespatchMsgIf true, the function will despatch any Windows messages currently in Windows message que.


RETURN VALUE:
This function returns the position of the first record found.

EXAMPLE:




COMMENT:
This function use exact comparison to find the match record.
Untitled Document
SearchSearch: