Hello all
I am writing an app where we want to dynamically build menus at runtime
from scratch. The books I have consulted on the issue seem to indicate
that this isn't possible, but they don't exactly say that. I have found
that I could build a menu by creating a MenuBarType struct, filling it
all in, calculating all the sizes and then feeding it into a
MenuSetActiveMenu() function call. I sort of do what MenuInit does, but
from scratch rather than from a resource.
This seems to work and I have not yet found any problems. Does anyone
know if this is a really REALLY bad idea? Seems too good to be true.
Ian
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/