Denis, Thanks. I got this to work. Now I just need a method of putting a bitmap in that will work. I'm thinking of keeping the bitmap database open but that worries me. Are there any other ideas out there that are won't break things?
Thanks, Mike > > > > 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? > > > > > > Yes, whatGoesHere is your notification code. Typically, use your Creator > ID > > > or > > > a Creator ID you register for that use. This way, no one else should > receive > > > the notification. > > > > Do you mean that when I register for a notification for my app that has a > > creator ID of 'Fred' I do this: > > > > SysNotifyRegister(myCardNo, myDbID, 'Fred', > > NULL, sysNotifyNormalPriority, NULL); > > > > and then respond to a notificaiton of type 'Fred'? > > Yes. With SysNotifyRegister, you indicate which notification code you want > to subscribe to. > > A notification code is a 32-bit unsigned int and must (obviously) not > collide with others. The system notifications codes use the same convention > as Creator IDs (look at NotifyMgr.h) : all lower case codes are reserved for > Palm OS. > > > that sounds a bit odd. I must be missing something here. > > Using a creator ID is a convention that David Fedor recommended to me a > couple of weeks ago. > > I'm not sure this convention is already documented somewhere (it definitely > should, in my opinion), but it is obviously necessary to have something like > that. Basically, my understanding is that notification IDs must be unique, > so first use your creator ID, then if you need further codes, register them > in the Creator ID database. > > -- 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/ __________________________________________________ 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/
