解决方案 »
- 循环中能否使用DrawText
- 做一个搜索功能,easySearch类型比如输入前面后面自动显示出来的
- 用GetPixel和SetPixel获取和设置图片的颜色值太慢了,大家有什么好的方法没
- 关于 OnInitDialog() 的问题!
- ActiveX Windowless 图形叠加问题
- 该怎样实现serial???100分马上就送到
- 怎么用程序校验自身EXE文件的完整性??
- 向500分叫板--我打赌,CSDN上没人能真正回答这个问题!
- 这里面有位兄弟已经问了这个问题,不过我还是要问一问,怎样用VC开发绿色软件.
- VC++中怎么发送一个自定义数据格式的UDP包??
- 无耻CSDN广告太多,请问如何注销CSDN用户
- 下拉式树形控件
If the data is embedded or linked, obtain a pointer to the COleClientItem object that has been selected.
If the data is native and the application is a server, create a new object derived from COleServerItem containing the selected data. Otherwise, create a COleDataSource object for the data.
Call the selected item's CopyToClipboard member function.
If the user chose a Cut operation instead of a Copy operation, delete the selected data from your application.
To see an example of this sequence, see the OnEditCut and OnEditCopy functions in the MFC OLE sample programs OCLIENT and HIERSVR. Note that these samples maintain a pointer to the currently selected data, so step 1 is already complete.