>Now: the documentation SAYS that FindStrInStr is void return - actually,
>looking in UI/Find.h I see that it returns Boolean, and the documentation
>would suggest that it returns TRUE if the string is found. Also, in all the
>examples, FindStrInStr returns Boolean. So ok, I assume that small part of
>documentation is wrong. However, the above example returns false. Which is
>puzzling. What am I doing wrong? Has anyone else had problems with this?
This has come up previously on the list, so you might want to check
the archives. Also the latest documentation for FindStrInStr
discusses the issue in some detail. The short answer is that you need
to call TxtGluePrepFindString (in the PalmOSGlue.lib) to prepare the
search string before calling FindStrInStr.
-- Ken
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/