> From: Sherman Yin [mailto:[EMAIL PROTECTED]]
> wondering about the (Handle *dbIDs) part of the function parameter.
> In Reference.pdf,it says it is a "Pointer to handle allocated to
> contain the database list".

Sounds like you are using an obsolete (3.1) version of the documentation.
The 3.5 and 4.0 docs cover SysCreateDataBaseList much better including a
code sample.

> What kind of "list" is it? Is it the same as list objects in the forms?

An array of SysDBListItemType structures.  It has nothing to do with forms.
You'll need to write a little extra code to get the database names into your
list on the screen.  A custom draw list (see LstSetDrawFunction) is
particularly useful in this case.

> My goal is to search for a type of database, display the results on
> screen as a selectable list and let the user decide what database to use.

See the Formats sample (in SDK) which shows how to do this.  It uses
SysCreatePanelList instead of SysCreateDataBaseList but both functions are
used the same way.

-slj-


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to