C# Class Windows7.Multitouch.TouchHandler

Handles touch events for a hWnd
Inheritance: Handler
Show file Open project: RIT-Tool-Time/Cascade Class Usage Examples

Protected Methods

Method Description
SetHWndTouchInfo ( ) : bool

Register for touch event

WindowProc ( IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam ) : uint

Intercept and fire touch events

Private Methods

Method Description
DecodeMessage ( IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam, float dpiX, float dpiY ) : IEnumerable

Decode the message and create a collection of event arguments

One Windows message can result a group of events

TouchHandler ( IHwndWrapper hWndWrapper ) : System

Method Details

SetHWndTouchInfo() protected method

Register for touch event
protected SetHWndTouchInfo ( ) : bool
return bool

WindowProc() protected method

Intercept and fire touch events
protected WindowProc ( IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam ) : uint
hWnd IntPtr The Windows Handle
msg int Windows Message
wparam IntPtr wParam
lparam IntPtr lParam
return uint