43 #define WM_GESTURE 0x0119 44 #define WM_GESTURENOTIFY 0x011A 53 DECLARE_HANDLE(HGESTUREINFO);
59 #define GF_BEGIN 0x00000001 60 #define GF_INERTIA 0x00000002 61 #define GF_END 0x00000004 71 #define GID_TWOFINGERTAP 6 72 #define GID_PRESSANDTAP 7 73 #define GID_ROLLOVER GID_PRESSANDTAP 91 ULONGLONG ullArguments;
117 #define GID_ROTATE_ANGLE_TO_ARGUMENT(_arg_) ((USHORT)((((_arg_) + 2.0 * 3.14159265) / (4.0 * 3.14159265)) * 65535.0)) 118 #define GID_ROTATE_ANGLE_FROM_ARGUMENT(_arg_) ((((double)(_arg_) / 65535.0) * 4.0 * 3.14159265) - 2.0 * 3.14159265) 128 __in HGESTUREINFO hGestureInfo,
129 __out PGESTUREINFO pGestureInfo);
141 __in HGESTUREINFO hGestureInfo,
142 __in UINT cbExtraArgs,
143 __out_bcount(cbExtraArgs) PBYTE pExtraArgs);
158 CloseGestureInfoHandle(
159 __in HGESTUREINFO hGestureInfo);
182 #define GC_ALLGESTURES 0x00000001 187 #define GC_ZOOM 0x00000001 192 #define GC_PAN 0x00000001 193 #define GC_PAN_WITH_SINGLE_FINGER_VERTICALLY 0x00000002 194 #define GC_PAN_WITH_SINGLE_FINGER_HORIZONTALLY 0x00000004 195 #define GC_PAN_WITH_GUTTER 0x00000008 196 #define GC_PAN_WITH_INERTIA 0x00000010 201 #define GC_ROTATE 0x00000001 206 #define GC_TWOFINGERTAP 0x00000001 211 #define GC_PRESSANDTAP 0x00000001 212 #define GC_ROLLOVER GC_PRESSANDTAP 214 #define GESTURECONFIGMAXCOUNT 256 // Maximum number of gestures that can be included 222 __in DWORD dwReserved,
224 __in_ecount(cIDs) PGESTURECONFIG pGestureConfig,
229 #define GCF_INCLUDE_ANCESTORS 0x00000001 // If specified, GetGestureConfig returns consolidated configuration 237 __in DWORD dwReserved,
241 __inout_ecount(*pcIDs) PGESTURECONFIG pGestureConfig,
281 WEvent( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
303 virtual SysChar
GetChar()
const;
305 virtual void SetChar( SysChar theChar );
310 virtual SysEvent GetSysEvent();
312 virtual void SetSysEvent(SysEvent theEvent);
324 virtual SysWindow GetSysWindow()
const;
326 virtual void SetSysWindow(
const SysWindow targetWindow);
332 virtual void SetReturnValue(uintptr_t value);
333 virtual uintptr_t GetReturnValue()
const;
335 virtual void SetSystemHandledState(SystemHandledState state);
336 virtual SystemHandledState GetSystemHandledState()
const;
343 virtual int16 GetPartCode()
const{
return fPartCode; }
344 virtual void SetPartCode(
const int16 pCode) { fPartCode = pCode; }
349 fEvent = *((
WEvent&)e).GetSysEvent();
350 fTheWindow = e.GetSysWindow();
358 SysWindow fTheWindow;
360 uintptr_t fReturnValue;
361 SystemHandledState fSystemHandledState;
367 #define kDelayResumeEvent (WM_USER+321) 370 #define kMainThreadTaskQueuedEvent (WM_APP + 1)