Location:
Search - CWMPControl
Search list
Description: 文件——》新建——》项目,选择MFC应用程序——》名称为player——》确定。
点击应用程序类型——》基于对话框——》完成。
在DIALOG中右击——》插入ACTIVEX控件——》选Windows Media Player ,添加了Windows Media Player 控件ID为IDC_OCX1。
对Windows Media Player控件右击——》添加变量——》变量名为m_wmplayer——》完成。
拉二个按钮到DIALOG中“打开”和“暂停”,双击“打开”输入以下代码:
-Paper- " New-" item, choose MFC applications- " known as the player-" determined. Click on application type- " based on the dialog box-" to complete. Right-click in the DIALOG- " ACTIVEX control insert-" choose Windows Media Player, added the Windows Media Player control ID for IDC_OCX1. Windows Media Player control on the right-click- " add variable-" variable named m_wmplayer- " completed. DIALOG two buttons to pull of " open" and " suspended" , double-click " Open" , enter the following code:
Platform: |
Size: 159744 |
Author: 陈冉 |
Hits:
Description: 自己用media player控件做的播放器,很简单,可以实现全屏播放,vs2005版本的-i programming it by using media player.
Platform: |
Size: 8422400 |
Author: 于鹏飞 |
Hits: