登录
首页 » ActiveX-DCOM-ATL » use five minutes, adds to the functionality flash player flash player is the use...

use five minutes, adds to the functionality flash player flash player is the use...

于 2022-02-01 发布 文件大小:46.34 kB
0 23
下载积分: 2 下载次数: 1

代码说明:

利用五分钟,给程序添加播放flash的功能flash的播放,是使用Macromedia的flash播放控件来播放flash步骤如下:建立一个单文档的程序,最后一步选择CFormView作为视图编辑视图的资源添加一个EditBox作为输入文件名,一个按钮播放。添加flash播放控件Project Add To Project Components and Controls Gallary选择:Registered ActiveX Controls文件夹下面的Shockwave Flash Object,它其实是指向c:winntsystem32macromedFlashFlash.ocx的。利用向导添加两个变量,分别对应输入的文件名和flash控件 CString m_filename CShockwaveFlash m_flash 添加播放按钮的事件,打开flash文件并且播放void CViewFlashView::OnPlay() { // TODO: Add your control notification handler code here //CShockwaveFlash UpdateData() m_flash.LoadMovie(0,m_filename) m_flash.Play() }-use five minutes, adds to the functionality flash player flash player is the use of the Macromedia flash player to player flash control steps are as follows : the creation of a single document the procedures, the last step CFormView choose Edit View View as the resources to add a EditBox as input file name, according to a NIU players. Adding flash player Control Project# 61664; Add To Project# 61664; Components an

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104225会员总数
  • 32今日下载