Implementing WndProc in C# Compact Framework v3.5
-
Tuesday, June 30, 2009 4:02 PMHi All,
Please Let me know how do I implement the Window Procedure (WndProc) in C# for a device application?
Actually, I wanted to teace the WM_GESTURE Message in C# application.
Many thanks,
Shrishail
[SIGNATURE]
All Replies
-
Tuesday, June 30, 2009 4:19 PM
Hi Srishail,
Check this article for gesture reconization with CF:
http://blog.opennetcf.com/ayakhnin/PermaLink,guid,63a34779-cf6e-41e8-972f-4ad3cbe77688.aspx
Regards,
Malleswar- Proposed As Answer by Malleswar [MCTS]MVP Friday, July 03, 2009 10:32 AM
-
Tuesday, June 30, 2009 6:23 PM
-
Friday, July 03, 2009 9:59 AMModerator
You can use subclassing:
Subclassing Controls with a Managed Window Procedure
You can also use the NativeWindow class from OpenNETCF.Windows.Forms.OpenNETCF SDF. The usage should be similar to it's counterpart on desktop:
http://msdn.microsoft.com/en-us/library/system.windows.forms.nativewindow.aspx
Please mark the post that helps you, and unmark that does not. This benefits our community members.- Marked As Answer by warrentangModerator Monday, July 06, 2009 3:12 AM

