Ben,

Thanks for the information. I guess that I won't
modify "McPhling" to use the command bar since mixing
hacks and notifications don't seem to mix.

By the way, I liked your article "The Secret World of
Palm OS: Starting Up is Hard to Do".  Think that you
can write a part two that explains in details, with
source code, how to start an application from a VFS
directory?

Some day I'm going to have to try CodeWarrior for my
development.

Regards,

Mike McCollister


--- Ben Combee <[EMAIL PROTECTED]> wrote:
> In article <85756@palm-dev-forum>,
> [EMAIL PROTECTED] says...
> > 
> > Hi,
> > 
> > Does anyone know how to have a hack add a bitmap
> or
> > two to the command bar and have it respond to the
> > pressing of that bitmap?  Right now I can trap
> > SysHandleEvent and check for eventP->eType ==
> > menuCmdBarOpenEvent.  However, I'm not sure how to
> > handle the MenuCmdBarAddButton in a hack.
> 
> Mike, you wouldn't call MenuCmdBarAddButton from a
> hack, you'd call it 
> from a code resource called by the
> sysNotifyMenuCmdBarOpenEvent 
> notification.  You just make your app register for
> this notification, 
> lock and protect the code resources that will
> respond to this 
> notification and to the new notification that gets
> broadcast when the 
> user taps your button.
> 
> -- 
> Ben Combee <[EMAIL PROTECTED]>
> CodeWarrior for Palm OS technical lead
> Get help at http://palmoswerks.com/
> 
> -- 
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.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