Locate, LocateW
DESCRIPTION: Find a record based on a search text without using the index system. |
CLASS: 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 String | The string to search for. | int Type | The record type. | int TextGrpID | Text group id to search to. | int TextID | Text id to search to. | int StartPos | The position to start the search. | HWND hResponseWnd | The Windows handle used by function to send the progress messages. | bool DespatchMsg | If 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. |
|