Hi,

I'm trying to figure out a way to add a small bitmap/icon to the command bar
for all applications in OS 5.  I've registered the sysNotifyMenuCmdBarOpenEvent
event and when I get that event I need to do something like this:

MenuCmdBarAddButton(menuCmdBarOnLeft, /* BarInfoBitmap */,
                    menuCmdBarResultNotify, whatGoesHere,
                    "Action");

However, there are two things that I don't know how to do:

1) How to get my bitmap/icon in place of the info bitmap/icon.  By the way,
what is the size supposed to be?

2) When the bitmap/icon is pressed, how do I do my action?  I'm guessing that I
need to send a notification back to myself using the menuCmdBarResultNotify
option.  However, will I be the only one getting that notification?  Can the
whatGoesHere be a custom notification that only I care about?

Thanks,

Mike


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus � Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to