Hi, Not sure about your menu problem, but if you want a "fast event loop", why not use 0 as the third argument of EvtGetEvent, i.s.o. SysTicksPerSecond()/40? If you have time left at the end of your loop and want a constant framerate you can always wait, or better yet pre-process something (while still listening to events)...
Good luck, Caspar -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lomion Sent: Friday, April 09, 2004 1:17 AM To: Palm Developer Forum Subject: Menu problem: menu does not react. Hello, I'm getting mad. My application is an arcade game with a fast event loop: EvtGetEvent(&event, SysTicksPerSecond()/40); In each loop I draw things and stuff. The problem is that when I open the menu bar with the hardware button, it opens correctly but then I cannot open any menu entry. When tapping on the menu entries, they do not highlight in blue and they do not open an Alert form. They used to work correctly at the beginning, when my code was very small. But now, it's just like if it was not responding at all. Whenever the menu bar is displayed I pause the drawings, and it works. And then I can select the *main* menu entries. But not the sub-menus in the pulldown windows. I made some checks with the returned values of this code: if (!SysHandleEvent(&event)) if (!MenuHandleEvent(0, &event, &error)) if (!AppHandleEvent(&event)) FrmDispatchEvent(&event); Once the menu is open, none of them returns true. In fact, it's just like if there was no event, until I tap outside the menu, it closes and I come back to my main form. it is probably something completely silly, because I do not master the forms at all, yet. Does anybody have a slight idea of what might be responsible for this ? You're my last resort ! Please help me ! (eyes full with tears...) Regards. Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Cr�ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ Dialoguez en direct avec vos amis gr�ce � Yahoo! Messenger !T�l�chargez Yahoo! Messenger sur http://fr.messenger.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
