Find.h
.
Boolean FindDrawHeader (FindParamsPtr findParams, Char const* title)
  |
|
Handle of FindParamsPtr . |
  |
|
Description of the database (for example Memos). |
true
if Find screen is filled up. Applications should exit from the search if this occurs.
void FindGetLineBounds (const FindParamsType *findParams, RectanglePtr r)
  |
|
Handle of FindParamsPtr . |
  |
|
Pointer to a structure to hold the bounds of the next results line. |
Boolean FindSaveMatch (FindParamsPtr findParams, UInt16 recordNum, UInt16 pos, UInt16 fieldNum, UInt32 appCustom, UInt16 cardNo, LocalID dbID)
  |
|
Handle of FindParamsPtr . |
  |
|
Record index. |
  |
|
Offset of the match string from start of record. |
  |
|
Field number the string was found in. |
  |
|
Extra data the application can save with a match. |
  |
|
Card number of the database that contains the match. |
  |
|
Local ID of the database that contains the match. |
true
if the maximum number of displayable items has been exceeded
Boolean FindStrInStr (Char const *strToSearch, Char const *strToFind, UInt16 *posP)
  |
|
String to search. |
  |
|
Normalized version of the text string to be found. |
  |
|
Pointer to offset in search string of the match. |
true
if the string was found. FindStrInStr
matches the beginnings of words only; that is, strToFind
must be a prefix of one of the words in strToSearch
for FindStrInStr
to return true
.
TxtFindString
, which performs searches on strings that contain multi-byte characters and returns the length of the matching text.
TxtGlueFindString
, found in the PalmOSGlue library. For more information, see Chapter 62, "PalmOSGlue Library."
strToFind
field of the
sysAppLaunchCmdFind
launch code parameter block has already been normalized. It can be passed directly to FindStrInStr
, TxtFindString
, or TxtGlueFindString
. If you have to create your own normalized search string, use TxtGluePrepFindString
, also in the PalmOSGlue library.
  |   |