From: "Gabo" <[EMAIL PROTECTED]> > In response to sysAppLaunchCmdNotify I'm trying to add a button to the > command bar : > > bitmapID = DmSearchResource(bitmapRsc,bMenuCmd,NULL,dbPP); > MenuCmdBarAddButton(1,bitmapID ,menuCmdBarResultNone,0,"Any Message"); > > everything work ok but the icon desn't show in the command bar and I > really don't know why.
MenuCmdBarAddButton will only record the bitmapID you give, but will not use it immediately. I guess that when it is actually used (i.e. when the command bar is displayed), the resource is no longer accessible, hence the "invisible" icon... -- Denis Faivre - [EMAIL PROTECTED] -- Ablivio - http://www.ablivio.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
