资 源 简 介
复制、剪切和粘贴数据
---- 将数据复制或剪切到剪贴板上
---- 1. 确定将要被复制的数据是一个本地数据还是一个嵌入对象或链接。
---- 如果数据是一个嵌入对象或链接,创建一个指向被选定数据的COleClientItem指针。
---- 如果数据是本地化的并且应用程序是一个服务器,那么从COleServerItem继承一个新的类,并创建该对象。否则,为数据建立一个COleDataSource对象。
---- 2. 访问选定对象的CopyToClipboard成员函数。
---- 3. 如果用户选择剪切命令而不是复制,那么从你的应用程序中删除那些数据。
-copy, cut and paste data-replication of data to the clipboard or shear on---- 1. Determined to be copied data is a local data or an embedded object or link.- If the data is embedded in an object or a link to create a pointer to the selected data COleClientItem pointer. Yes- if the localization of the data and applications is a server, and then from COleServerItem succession of a new category, and the creation of the object. Otherwise, the data for the establishment of a COleDataSource targets.---- 2. Visit selected object CopyToClipboard member function.---- 3. If users choose shear order not reproduce, and then from your application to delete those data.