I am using PalmOS 3.5.

There's a bunch of routines to create UI objects at runtime, e.g. 
FldNewField() and CtlNewControl().  All routines require to specify
the ID of the new object.  As I understand, this ID should be unique
throughout the application (at least throughout the current form).

How do I create an ID which is unique?

Of course I can use #define and manually select IDs.  I would consider
this as "hardcoded" as it might interfere with any automatic creation
of IDs, e.g. when using PilRC to create static UI objects.  Is there
a safer way?

hcw

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

Reply via email to