There are lots of details too numerous to mention that need to be handled. Best advice I can give you is to register as a developer with PalmSource, then download the OS source code and look at some examples, e.g. LstPopupList in file List.c.
Dave -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/