On Mon, 8 Apr 2002, Mike McCollister wrote:

> Does anyone know how to detect whether Sony's
> JogAssist is enabled or not?

I don't think there is any way to detect whether JogAssist is enabled
or not. My interpretation of Sony's documentation is that if your
application needs to perform its own handling of Jog Dial events, you
should override JogAssist for the Jog Dial events you need to
handle.

The JogAssist section of Sony's Programmer's Companion has information
on how to disable JogAssist within your own application (by defining a
JogAssist mask), but it can be a little hard to follow because the
examples in the Companion leave something to be desired. Take a look
at JogAssist_sample.cpp, which is also included in Sony's 3.0
SDK. JogAssist_sample.cpp contains a complete example of how to
prevent JogAssist from handling certain Jog Dial events.

Note that creating a JogAssist mask doesn't completely disable
JogAssist within your application. Not only can you pick and choose
which Jog Dial events bypass JogAssist, you can also select only
certain forms in your application that disable JogAssist handling. The
system is very flexible, if a little hard to understand.


/|\ Lonnie Foster  <[EMAIL PROTECTED]>  http://pobox.com/~tribble  
\|/   When people cease to complain, they cease to think.
/|\                                             -- Arabic Proverb


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

Reply via email to