Disabling Windows Mobile 6.5 Gestures - Managed Code

  • Thread starter Thread starter Graf
  • Start date Start date
G

Graf

Hi there!

I have developed a program (CF2.0 and some p/invoke) for some years
now. I tested it on WM 6.5 and some parts of the program don't work as
expected anymore due to the new gestures feature of the new WM.

Is there an easy way to block the gestures completely within my
program?

Thanks in advance for any idea.

Regards
Andreas
 
Hi,

Graf said:
I have developed a program (CF2.0 and some p/invoke) for some years
now. I tested it on WM 6.5 and some parts of the program don't work as
expected anymore due to the new gestures feature of the new WM.

Is there an easy way to block the gestures completely within my
program?

I'm not aware of a solution which disables the gesture support at a global
application level.

It is however possible to disable them at an individual control level by
hooking the control's native window procedure and ignoring the WM_GESTURE
message which is sent when ever a gesture is detected.

I have a native C example of doing this with a listbox control, but don't
currently have a .NET CF based example.

Do you mind sharing which feature doesn't work as expected? I'm supprised
gesture support has made much of a difference. It would perhaps be more
advisible to work on resolving the underlying issue rather than using the
brute force approach of disabling gestures completely.

Hope this helps,
Christopher Fairbairn
 
Need the code

Hi Christophe,

Can you please provide me the native code for ownerdraw list view and Gesture disabled

Regards
 
Back
Top