C# Class Windows7.Multitouch.TouchHandler

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

Méthodes protégées

Méthode Description
SetHWndTouchInfo ( ) : bool

Register for touch event

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

Intercept and fire touch events

Private Methods

Méthode 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 méthode

Register for touch event
protected SetHWndTouchInfo ( ) : bool
Résultat bool

WindowProc() protected méthode

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
Résultat uint