Hi,
"Graf" <(E-Mail Removed)> wrote in message
news:306c35f1-ae44-46f6-ae53-(E-Mail Removed)...
> 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
|