11月282017
在窗口显示FLASH
```#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
$main1 = GUICreate("万年历", 620, 450, -1, -1, BitOR($WS_SYSMENU, $WS_CAPTION))
;创建个flash控件,加载万年历
;GUISetState(@SW_SHOW)
Local $oCalendar = ObjCreate("ShockwaveFlash.ShockwaveFlash")
FileInstall("wnl5.swf", @TempDir & "\wnl5.swf")
If IsObj($oCalendar) Then
GUICtrlCreateObj($oCalendar, 0, 0, 620, 450)
$oCalendar.SAlign = "T" ;对齐 顶部
$oCalendar.Movie = @TempDir & "\wnl5.swf"
$oCalendar.Loop = True
EndIf
GUISetState(@SW_SHOW)
Do
$msg1 = GUIGetMsg()
If $msg1 = $GUI_EVENT_CLOSE Then ExitLoop
Until GUIGetMsg() = -3
```
```
扫描二维码,在手机上阅读
发表评论
木有头像就木JJ啦!还木有头像吗?点这里申请属于你的个性Gravatar头像吧!