Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Disabling Windows Mobile 6.5 Gestures - Managed Code

25 views
Skip to first unread message

Graf

unread,
Nov 4, 2009, 2:59:26 PM11/4/09
to
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

Christopher Fairbairn [MVP]

unread,
Nov 15, 2009, 4:14:08 PM11/15/09
to
Hi,

"Graf" <andreas.g...@gmail.com> wrote in message
news:306c35f1-ae44-46f6...@k19g2000yqc.googlegroups.com...


> 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


0 new messages