|
本帖最后由 bj17209 于 2010-11-3 22:23 编辑
求助:毛玻璃窗体中打开IE网页,结束后出现错误,帮忙看看啊
是什么问题,加入毛玻璃DLL效果就会出现错误,不加效果就没有错误。帮我看看啊,高手们
毛玻璃效果1
运行结束后出现错误
没有毛玻璃皮肤效果
没有皮肤就不会出现错误啊!
这是源代码,帮忙看看啊
$HIDE = GUICreate("", "", "", "", "", "", $ws_popup, $WS_EX_TOOLWINDOW)
$hwnd = GUICreate("", 300, 200, (@DesktopWidth) - 320, (@DesktopHeight) - 300, $HIDE, $WS_MAXIMIZEBOX)
_SkinGUI(@TempDir & "\SkinCrafterDll.dll", @TempDir & "\vista.skf", $hwnd) ;皮肤
GUICtrlCreateLabel($netbar, 80, 0, 300, 40)
GUICtrlSetFont(-1, 16, 800)
GUICtrlCreateLabel(" " & @ComputerName & "欢迎您!", 0, 30, 300, 40)
GUICtrlSetFont(-1, 14, 800)
GUICtrlCreateLabel(" " & $I_mss, 0, 50, 300, 100)
GUICtrlSetFont(-1, 14, 800)
GUISetState()
WinSetState("", "", @SW_DISABLE) ;禁止窗体移动
Sleep(3000)
;ie窗口打开
$oIE = _IECreateEmbedded()
GUICtrlCreateObj($oIE, 0, 0, 330, 200)
_IENavigate($oIE, $iegg)
Sleep($time)
Exit
;毛玻璃DLL调用
Func _SkinGUI($SkincrafterDll, $SkincrafterSkin, $Handle)
$Dll = DllOpen($SkincrafterDll)
DllCall($Dll, "int:cdecl", "InitLicenKeys", "wstr", "1", "wstr", "", "wstr", "1@1.com", "wstr", "1")
DllCall($Dll, "int:cdecl", "InitDecoration", "int", 1)
DllCall($Dll, "int:cdecl", "LoadSkinFromFile", "wstr", $SkincrafterSkin)
DllCall($Dll, "int:cdecl", "DecorateAs", "int", $Handle, "int", 25)
DllCall($Dll, "int:cdecl", "ApplySkin")
EndFunc ;==>_SkinGUI |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?加入
×
|