能用au3做个框,把wmp镶在里面吗?
ObjCreate("WMPlayer.OCX")这个不好用啊~!播放我的AVI文件不是满屏的,是个很小的屏,还有就是只有声音没有图像啊。在论坛上找了个代码不行啊。#include <GUIConstants.au3>
Global $wmp = ObjCreate("WMPlayer.OCX.7")
GUICreate ( "测试", 750,750)
$GUIActiveX = GUICtrlCreateObj($wmp,0,0,750,750 )
$wmp.uimode="Full"
$wmp.url=@ScriptDir & "\U\Disk\2.avi"
$WMP.Controls.play
GUISetState()
While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
ExitLoop
EndSelect
Wend
页:
[1]