最終更新:2012-01-27 (金) 19:09:35 (2951d)  

WM_GESTURE
Top / WM_GESTURE

http://msdn.microsoft.com/ja-jp/library/dd353242(v=vs.85).aspx

    case WM_GESTURE:
	WM_Gesture( mes, wparam, lparam );
	return	FALSE;

void WM_Gesture( UINT mes, WPARAM wparam, LPARAM lparam )
{
    GESTUREINFO	ginfo;
    memset( &ginfo, 0, sizeof(GESTUREINFO) );
    ginfo.cbSize= sizeof(GESTUREINFO);
    HGESTUREINFO	hgesture= reinterpret_cast<HGESTUREINFO>( lparam );

    if( GetGestureInfo( hgesture, &ginfo ) ){
        ...
    }
    CloseGestureInfoHandle( hgesture );
}

関連

参考