At 11:25 AM -0700 2001/05/11, Eric W. Sirko wrote:
>Does that answer his question?  I think not.  My observation is that
>SysHandleEvent will beep anyway.

Interesting. The following line of code in SysHandleEvent exists just prior to a set 
of tests for virtual key events that should avoid playing the click sound:

  if (!(EvtKeydownIsVirtual(eventP))) return false;

In Palm OS 3.5 EvtKeydownIsVirtual is defined as:

  (((eventP)->data.keyDown.modifiers & virtualKeyMask) != 0)

where virtualKeyMask is define as:

  (appEvtHookKeyMask | libEvtHookKeyMask | commandKeyMask)

So the question is, does your virtual key event include any of the appEvtHookKeyMask 
or libEvtHookKeyMask or commandKeyMask modifiers? Apparently now it must not to avoid 
playing the click sound (which is contrary to the original design of the mechanism... 
hmmm...)

Regards,

Jim Schram
Palm Incorporated
Partner Engineering


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to