登录
首页 » Windows开发 » 多点触摸操作示例

多点触摸操作示例

于 2022-02-04 发布 文件大小:17.10 kB
0 268
下载积分: 2 下载次数: 1

代码说明:

对于此示例,创建一个CDrawingObject类,可以编程方式平移,旋转或缩放。 AnIManipulationProcessor接口被实例化。一种操纵事件接收器创建接受一个指向theCDrawingObject类,在其构造函数中IManipulationProcessor接口。连接点的IManipulationProcessor在操纵事件接收器实现创建,这样的事件接收器接收由theIManipulationProcessor引发的事件。触摸数据被馈送到IManipulationProcessor界面,然后该接口将提高_IManipulationEvent事件。在CManipulationEventSink类的事件处理程序将通过调用访问器上的指针CDrawingObject更新CDrawingObject的方向。下面的代码显示窗口是如何设置的触摸,以及如何CDrawingObject andIManipulationProcessor被实例化,并传递给CManipulationEventSink构造函数。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • CEDraw是一个在WinCE中实现高速画图的库
    CEDraw是一个在WinCE中实现高速画图的库-CEDraw is a WinCE in achieving high-speed drawing of the library
    2022-01-26 00:42:57下载
    积分:1
  • 数码管动态显示,用到中断,是一个不可控制的时钟程序
    数码管动态显示,用到中断,是一个不可控制的时钟程序-fgfdgfdgfdgdfgdfdsfdsfdsdfd
    2022-04-08 01:40:38下载
    积分:1
  • AD3080测距
    得益于传感器、执行机构、处理器等技术的进步以及相关成本的减少,结合这部分的优点,使得半自动和全自动的多旋翼飞行器的建造成为可能。由于对自主系统存在不同的定义,这里理解为能够在没有任何外部设备的情况下能够完全独立运行其所有功能的系统。相比于使用GPS或光学跟踪摄像机定位的系统,称为半自主系统更合适,因为其需要依赖外部设备或信号。而自主系统能够在未知和没有GPS的环境下运行,例如室内、洞穴、隧道或者其它没有精确GPS信号可用的地方。已有的实现自主系统的不同方法有使用超声波、红外、激光雷达、立体摄像机或者微软的Kinetic相机。每一种都有自己的缺点,比如可靠性、价格、重量和大小。对于可靠性来说,多传感器系统才是主流,而且基于摄相机的系统会得益于更轻的重量、更便宜的价格和更小的体积。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-11-13 17:45:04下载
    积分:1
  • Accounts management software: financial accounts for the specific management
    账目管理软件:用于对具体财务账目进行管理-Accounts management software: financial accounts for the specific management
    2022-01-26 00:43:50下载
    积分:1
  • glut.h 把这个文件"include"到您的源代码中。通常把这个文件放在您的编译器的头文件目录gl文件夹下。 glut.lib(SGI版)和glut3...
    glut.h 把这个文件"include"到您的源代码中。通常把这个文件放在您的编译器的头文件目录gl文件夹下。 glut.lib(SGI版)和glut32.lib(微软版),这个文件会被链接到您的程序,所以,把它放到编译器的lib文件夹下。 glut.dll(SGI版)和glut32.dll(微软版),把这个文件放在%WinDir%System32文件夹下。 然后拷贝对应的文件到对应的目录: glut32.dll to %WinDir%System, //这里或者是System32 glut32.lib to $(MSDevDir)....VC98lib, glut.h to $(MSDevDir)....VC98includeGL 对于vc2005,则应拷贝到: VCPlatformSDKLib和VCPlatformSDKIncludeGL-glut.h put this file include to your source code. Usually put this file on your compiler s header files directory gl folder. glut.lib (SGI version) and glut32.lib (Microsoft version), this document will be linked to your procedures, therefore, put it on the compiler s lib folder. glut.dll (SGI version) and glut32.dll (Microsoft version), put the document on the WinDir System32 folder. And copies of the corresponding documents to the corresponding directory: glut32.dll to WinDir System,// here or are System32glut32.lib to $ (MSDevDir ).... VC98lib, glut.h to $ (MSDevDir ).... VC98includeGL for vc
    2022-06-28 06:41:31下载
    积分:1
  • 说明:使用该软件可以很容易地将图片转换为数组的需要,…
    说明: 使用该软件可方便地将图片转换为需要的数组,也可以将数组转换为相应的图片.-Note: Use the software can easily convert the picture to the needs of an array, the array can also be converted to the corresponding picture.
    2022-02-25 12:58:22下载
    积分:1
  • Determine palindrome
    回文判断 输入一个字符串可以判断是不是回文。-Determine palindrome
    2022-08-21 17:14:16下载
    积分:1
  • 用 C++ 创建简单的 Win32 服务程序(NTServCpl) 详细信息 < NT服务 > 《用 C++ 创建简单的 Win32 服务程序》一文...
    用 C++ 创建简单的 Win32 服务程序(NTServCpl) 详细信息 < NT服务 > 《用 C++ 创建简单的 Win32 服务程序》一文的例子代码。描述如何用 Visual C++ 创建 Windows NT 服务程序。创建该服务仅用到一个 C++ 类,这个类提供服务与操作系统之间一个简单的接口。使用这个类实现自己的服务非常简单,只要改写少数几个基类中的虚拟函数即可。文中有三个源代码参考例子:这是其中之一―― NTServCpl:是一个控制面版程序,用来控制 NTService 服务; 其余两个分别为: NTService:是一个简单的 Win32 服务,它就是用本文所描述的方法建立的; NTServCtrl:是一个独立的程序例子,用它可以监控某个 Win32 服务;-create simple Win32 services (NTServCpl) detailed information lt; NT services gt; "C create simple Win32 service procedures," a text of the code examples. Describe how to use Visual C create Windows NT service procedures. Creation of the service only to a category C, the category of services provided between an operating system with a simple interface. Use this category to realize their services are very simple, as long as rewriting a few of the base class function can be virtual. The text has three reference source code example : This is one of them-- NTServCpl : console is a procedure used to control NTService services; The remai
    2022-08-09 22:47:02下载
    积分:1
  • 这是一份完整的记事本测试文档,内含详细测试步骤已经规范的格式,可作学习参考之用...
    这是一份完整的记事本测试文档,内含详细测试步骤已经规范的格式,可作学习参考之用-This is a complete test Notepad document, containing detailed steps have been standardized test format, can be used for study and reference
    2022-03-03 13:25:38下载
    积分:1
  • 用来展示下雪是的样子,中间加入了许多因素,如风吹雪花随风飘动的样子等...
    用来展示下雪是的样子,中间加入了许多因素,如风吹雪花随风飘动的样子等-snow is used to display on the outside, joined the middle of many factors, such as wind and snowflakes floating in the wind like the other
    2023-06-24 16:00:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载