> Hi, > I am calling MenuCmdBarAddButon outside of my app(in response to a > notification) in order to add a button to the command bar. When I open the > command bar in my own Application, the Bitmap gets shown. When another App > is active, however, an empty bitmap is shown in the command bar. > What can I do to fix this?
You need to leave the resource database open in order to get the icon show. I suggest you create another database when you first run your app with the icon you want to show. Later open and leave open: dbref=DmOpenDatabase(cardNo,dbID,( dmModeReadOnly | dmModeLeaveOpen )); Gabo -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
