"Laurence Mee" <[EMAIL PROTECTED]> wrote in message news:71392@palm-dev-forum... > > I did spend quite a while trying to find an answer before posting here but I > didn't see any reference to the problem I seem to be having. It might well > be that I didn't put in the right words to search for of course. > I'll try to narrow down the problem I have. > The specific problem I have is with the 'Command:' bar appearing because of > a menu shortcut stroke (PalmOS 3.1 specifically) and being unable to > determine if it has. I've tried checking if the currently active window is > the window I'm drawing in, and it always seems to be the case even with the > bar visible. I've tried calling MenuEraseStatus(0) before drawing but the > bar is not removed. This is only a problem with PalmOS 3.1, from 3.5 on it's > OK. > If you can find the thread that apparently dealt with this a few weeks back > in the archive, I would be grateful - equally if you can answer here I would > also be grateful.
Why not detect the command keystroke and deal with it that way? You should try to intercept it between your EvtGetEvent and the call to SysHandleEvent. You're looking for character chrCommandStroke. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
