资 源 简 介
要编写一个实现剪切和复制命令的函数,就要在你的应用程序中实现选定操作;要编写一个实现粘贴命令的函数,就需要请求剪贴板来检测它是否包含你的应用程序能够支持的数据。下面的代码实现了复制命令,其它实现可仿照进行,在此不再赘言。 -prepared to achieve an order shear and reproduction function, it is necessary to your application process to achieve selected operation; To prepare a sealed order to achieve the function, on the need to request the clipboard to detect whether it contains your applications can support data. The following code to achieve the reproduction order to be modeled on the other to achieve, and in this stop drilling.