Disabling Windows Mobile 6.5 Gestures - Managed Code

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
 
C

Christopher Fairbairn [MVP]

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
 
Joined
Sep 27, 2010
Messages
1
Reaction score
0
Need the code

Hi Christophe,

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

Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top