> in your main event loop:
>
>---
> if (event.eType == keyDownEvent) {
>
> switch (event.data.keyDown.chr)
> {
> case menuChr:
>---
>
> is your menu character press (near the grafitti area)..
>
Of course there may be some ways a menu can be triggered without the menu
character (MenuHack, or your code might send a menu event after something
else happens). So I believe the other way to detect menu down is to look
for WinExitEvents. If memory serves me, Roger Flores has mentioned many
times on this list that the game which is in the Examples folder of the
SDK has a good example of how to do this.
Steve Patt
President, Stevens Creek Software
http://www.stevenscreek.com/pilot
The home of...
PalmPrint && UnDupe && On Hand && Take An Order!
Athlete's Diary && SnailMailer && many more