L
liuxianghui
Unregistered / Unconfirmed
GUEST, unregistred user!
在MDI窗体菜单 edit->Copy 的onClick 事件中调用F1book的editcopy方法,运行时出现
“不能打开剪贴板”错误,主菜单edit->Copy 项变暗,不能进行任何剪贴板操作。
但是如果先运行MDI的打开文件对话框,无论是否打开文件,以后都可以进行剪贴板操作,
但是主菜单edit->Copy 项还是变暗。不知何故?
在Formula One 6.0的Readme中有这样的描述,
Stand-Alone Applications
In order for drag-and-drop functionality to work in stand-alone applications,
you will need to add OleInitialize and OleUninitialize to your stand-alone
application.
The OleInitialize and OleUninitialize functions need to be added to any C++
application that uses Formula One.
Specifically, you should call ::OleInitialize(NULL) in the start up code.
::OleUninitialize() should be called in the exit code of the application.
不知是否与此有关。
我想是否可能建立一个接口,将 F1book OCX控件的剪贴板与MDI主窗口的剪贴板相连?
另祝大家新年好!
2000.12.30
“不能打开剪贴板”错误,主菜单edit->Copy 项变暗,不能进行任何剪贴板操作。
但是如果先运行MDI的打开文件对话框,无论是否打开文件,以后都可以进行剪贴板操作,
但是主菜单edit->Copy 项还是变暗。不知何故?
在Formula One 6.0的Readme中有这样的描述,
Stand-Alone Applications
In order for drag-and-drop functionality to work in stand-alone applications,
you will need to add OleInitialize and OleUninitialize to your stand-alone
application.
The OleInitialize and OleUninitialize functions need to be added to any C++
application that uses Formula One.
Specifically, you should call ::OleInitialize(NULL) in the start up code.
::OleUninitialize() should be called in the exit code of the application.
不知是否与此有关。
我想是否可能建立一个接口,将 F1book OCX控件的剪贴板与MDI主窗口的剪贴板相连?
另祝大家新年好!
2000.12.30