C# Class Windows7.Multitouch.GestureHandler

Handles gesture events
The handler simplifies handling gesture such as rotate, zoom and pan by keeping the requires knowledge of the previous and first event in the gesture event sequence.
Inheritance: Handler
Show file Open project: RIT-Tool-Time/Cascade Class Usage Examples

Private Properties

Property Type Description
GestureHandler System
MapWM2EventId uint

Protected Methods

Method Description
SetHWndTouchInfo ( ) : bool

Register the form to get gesture events

WindowProc ( IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam ) : uint

The Windows message interception for gesture events handling

Private Methods

Method Description
GestureHandler ( IHwndWrapper hWndWrapper ) : System

Construct a gesture handler instance

MapWM2EventId ( uint dwID, uint dwFlags ) : uint

Method Details

SetHWndTouchInfo() protected method

Register the form to get gesture events
protected SetHWndTouchInfo ( ) : bool
return bool

WindowProc() protected method

The Windows message interception for gesture events handling
protected WindowProc ( IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam ) : uint
hWnd System.IntPtr WndProc hWnd
msg int WndProc msg
wParam System.IntPtr WndProc wParam
lParam System.IntPtr WndProc lParam
return uint