PC Review


Reply
Thread Tools Rate Thread

Disabling Windows Mobile 6.5 Gestures - Managed Code

 
 
Graf
Guest
Posts: n/a
 
      4th Nov 2009
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
 
Reply With Quote
 
 
 
 
Christopher Fairbairn [MVP]
Guest
Posts: n/a
 
      15th Nov 2009
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


 
Reply With Quote
 
New Member
Join Date: Sep 2010
Posts: 1
 
      27th Sep 2010
Hi Christophe,

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

Regards
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows mobile 6.5/7.0 and managed code Mike Margerum Microsoft Dot NET Compact Framework 13 22nd Feb 2009 01:04 PM
Disabling the power key in windows mobile device Tammy Nejadian Microsoft C# .NET 2 12th Nov 2008 08:38 PM
Mobile 5 - Debugging Managed C#/Unmanaged C++ Code john.e.otten@gmail.com Microsoft C# .NET 0 3rd Mar 2008 05:06 PM
Debugging managed code under windows 98 adi Microsoft Dot NET Framework 1 8th Jan 2007 04:22 PM
Windows Service with managed code =?Utf-8?B?RGF2aWQgTmV2YXJleg==?= Microsoft Dot NET Compact Framework 2 17th Feb 2006 03:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:39 PM.