Kill, the styles on your emails, listen to what David just said, and
if you want to add "dynamic" submenus you can register for the
kEventClassMenu/kEventMenuPopulate CarbonEvent (either on the parent
menu item or on the submenu, preferably the submenu).
Just create a 0 item menu, register for the event on that new menu,
attach it to the parent menu item, then when someone goes to open
that menu, your event handler will be called and you can insert menu
items "Just in Time". I guess that's what you mean by "Realtime"?
See the documentation on kEventMenuPopulate and all carbon events for
more information.
Ack, at 9/13/05, Nuno Fonseca said:
Hi everyone,
I need to populate a popup menu with several items and submenus.
I found the APIs to insert items, but I couldn't found any function
to add submenus to other menus. I found InsertMenu(), but this is
for inserting it on a menubar.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden