基于mfc ocx播放器 ie8不能关闭

艳沐石 2013-12-11 03:23:59
本人做了一个用vc6.0 做了一个MFC ocx播放器 视频输出用的ffmpeg+sdl ie8加载我的控件后 播放时ie无法点击关闭 没有播放时是可以关闭的 百思不得其解 求各位大侠 指点一下(360浏览器可以关闭)
...全文
111 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
艳沐石 2013-12-11
  • 打赏
  • 举报
回复
大哥 能不能用中文 vc6.0自带的ActiveX Control Test Container 我测试了 关闭没问题
赵4老师 2013-12-11
  • 打赏
  • 举报
回复
Test Container Home | Overview | How Do I | Tutorial | Sample The Test Container application, shipped with Visual C++, is an ActiveX control container for testing and debugging ActiveX controls. Test Container allows the control developer to test the control’s functionality by changing its properties, invoking its methods, and firing its events. Test Container can display logs of data-binding notifications and also provides facilities for testing an ActiveX control’s persistence functionality: you can save properties to a stream or to substorage, reload them, and examine the stored stream data. This section describes how to use the basic features of Test Container. For additional information, select the Help menu while running Test Container. To test your ActiveX control On the Tools menu of Visual C++, click ActiveX Control Test Container. On the Edit menu of Test Container, click Insert New Control. In the Insert Control box, select the desired control and click OK. The control will appear in the control container. Note If your control is not listed in the Insert Control dialog box, make sure you have registered it with the Register Controls command from the File menu of Test Container. At this point you can test your control’s properties or events. To test your ActiveX control with the debugger Build a debug version of the control with symbolic debugging information. From the Build menu, select Settings. The Project Settings dialog box appears. Select the Debug tab. In the Executable for Debug Session box, type TstCon32.exe—the filename for Test Container. Choose OK. After you complete this procedure, Test Container starts automatically when you begin debugging your control (by selecting Go from the Debug submenu of Build or pressing F5). If a message box appears stating that no debug information is available for the Test Container, ignore the message and choose OK. You can now step through your code, set breakpoints, and use other debugging features. To test properties On the Control menu, click Invoke Methods. In the Method Name drop-down list, select the PropPut method for the property you want to test. Modify the Parameter Value or Parameter Type and click on the Set Value button. Click Invoke to apply the new value to the object. The property now contains the new value. To test events You can specify the destination of event information. On the Options menu, click Logging. Specify the destination of event information. See Also ActiveX controls

64,676

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧