登录
首页 » Windows开发 » 粘贴数据比复制更加复杂,因为你需要选择粘贴的格式。

粘贴数据比复制更加复杂,因为你需要选择粘贴的格式。

于 2023-04-03 发布 文件大小:3.55 kB
0 397
下载积分: 2 下载次数: 1

代码说明:

粘贴数据比复制更加复杂,因为你需要选择粘贴的格式。 ---- 1. 在你的视中,实现OnEditPaste来处理用户从编辑菜单选择粘贴命令的操作。 ---- 2. 在OnEditPaste函数中,建立一个COleDataObject对象并且访问它的AttachClipboard成员函数来将这个对象绑定到剪贴板。 ---- 3. 访问COleDataObject::IsDataAvailable函数来检查是否可以使用特殊的格式。当然,你也可以通过循环使用COleDataObject::BeginEnumFormats来寻找其它格式直到你找到了最适合的格式。 ---- 4. 粘贴数据。 -paste data replication more complicated than that because you need to choose paste format.---- 1. Depending on your, and realize OnEditPaste to users from the edit menu select paste ordered the operation.---- 2. In OnEditPaste function, the establishment of a visit COleDataObject object and its function AttachClipboard members will be bundled with the object to the clipboard.---- 3. Visit COleDataObject : : IsDataAvailable function can be used to check whether a special format. Of course, you can also cycle through the use of COleDataObject : : BeginEnumFormats to find other formats until you find the most suitable format.---- 4. Pasting data.

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

发表评论

0 个回复

  • 模拟简单的计算器,绝对自己开发。初学者可以拷贝作业。
    模拟简单的计算器,绝对自己开发。初学者可以拷贝作业。-Simulation of a simple calculator, the absolute own. Beginners can copy operation.
    2023-03-03 09:35:03下载
    积分:1
  • PE文件格式系列译文之一
    PE文件格式系列译文之一---- 【翻译】“PE文件格式”1.9版 完整译文(附注释)-PE file format, one of series of translation Translation---- 【】 " PE file format" 1.9 version of the full translation (with notes)
    2023-07-19 16:35:03下载
    积分:1
  • Avr osciloscope using atmega32 microcontroller
    Avr osciloscope using atmega32 microcontroller
    2022-03-22 04:54:15下载
    积分:1
  • 利用winsock进行通讯的简单编程实例
    利用winsock进行通讯的简单编程实例-Winsock to communicate using simple programming examples
    2023-04-15 14:05:04下载
    积分:1
  • C++ STL 标准模板库源码,对学习C++ STL非常有用
    C++ STL 标准模板库源码,对学习C++ STL非常有用-C STL standard template library source code, to learn very useful C STL
    2022-05-06 20:04:51下载
    积分:1
  • a proverb can be used to query the contents of the entries and small procedures,...
    一个用来查询成语词条及内容的小程序,利用了字符操作方法.包括源代码和程序.-a proverb can be used to query the contents of the entries and small procedures, the use of the methods of operation of the characters. Including source code and procedures.
    2022-01-26 01:35:08下载
    积分:1
  • This directory contains code implementing the K
    This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen.-This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen.
    2023-09-06 05:15:03下载
    积分:1
  • 这是一个演示使用VB对USB
    这是一个演示使用VB对USB-HID设备进行数据读取写入的通讯示例。可以遍历所有USB设备,由于没有类似调试设备,这个源代码没有测试,但里面的一些API函数可以让大家喜欢研究USB通讯开发的网友提供些帮助,这个代码转载与另外一个网站,如果作者看到有更完善的源代码可以发来更新下,感谢作者。-This is a demonstration using VB on the USB-HID device to read data written communication example. You can traverse all the USB devices, because no such test equipment, the source code is not tested, but inside some of the API functions will allow everyone likes USB communication development User research provide some help, this code is reproduced with another Web site to see if the author have a more complete source code can be made to update the next, thanks author.
    2023-06-17 17:45:04下载
    积分:1
  • 间的使用
    利用进程间通讯的方法,获取msn聊天内容的原代码-The use of inter-process communication methods, to obtain the contents of the msn
    2022-02-04 09:48:00下载
    积分:1
  • 基于labwindows/cvi的串口工具
    使用labwindows/cvi 2015实现串口工具功能。包括串口选择,波特率选择,数据位选择,发送内容显示与接收内容显示,发送接收可控。下载后代码可用于二次开发。
    2022-04-12 11:55:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载