In a modal form with a 2-menu menu bar, I add an icon in the menu
command bar by calling
MenuCmdBarAddButton( menuCmdBarOnLeft, BarBeamBitmap,
menuCmdBarResultMenuItem,
PrefsBeam, NULL );
when handling the menuCmdBarOpenEvent. Yet, I get
"MenuCmdBar.c, Line:466, No text provided for button" in POSE even
though the PrefsBeam menu item exists and works (and has a 'B'
shortcut). Oddly, I successfuly add an icon to this bar in other modal
or non-modal forms with the very same code. I can't find what makes
them different from the buggy form. Any hint?
Luc Le Blanc
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/