Thank you Richard.  Looking at your example code prompted me to try a
capitol "H" instead of a lowercase "h".  That was my mysterious problem.
Turned out to be a case problem.  All's well, now.

Eric Martens

> -----Original Message-----
> From: Richard Burmeister [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, January 11, 2000 11:00 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Using Shortcuts
> 
>  Eric Martens wrote:
> 
> > What needs to be done to use Shortcuts?  I went through the Palm OS
> tutorial
> > and they worked fine.  I created an App from scratch and they don't
> work.
> > If I use the menu icon in the silkscreen area I can select my menu item,
> but
> > the shortcut does not invoke it.  Any suggestions?
> 
> This may be too obvious to mention, so please don't take offense if you
> already know this:
> 
> The system handles shortcuts for menus that have a shortcut cut character
> defined in the resource.  You don't have to write any extra code to deal
> with shortcuts; you just write code to respond to the menu selection.  Did
> you define shortcut characters for your menu items?  If you are using
> Constructor, look at the .h file for the resource and a menu item with a
> shortcut key will look something like this:
> 
> #define MainGameNew     1000 //  Command Key: N
> 
> If you forgot to add the shortcut character, there will not be a command
> key
> comment at the end of the #define.  To add the command key, open the menu
> in
> Constructor, click on the menu item, then press tab to move to the
> Shortcut
> area, then type in the letter you want to use.
> 
> Also, shortcut characters need to be unique for an app.  So, if you have
> two
> menu items defined with the same shortcut, who knows what will happen.
> 
> 
> ----- Original Message -----
> From: "Martens, Eric A." <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, January 10, 2000 6:19 PM
> Subject: Using Shortcuts
> 
> 
> >
> >
> 

Reply via email to