自己试了下 打开网页后控件就消失了 期待各位大大的赐教#NoTrayIcon
#Region ;**** 参数创建于 ACNWrapper_GUI ****
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <ButtonConstants.au3>
#include <StaticConstants.au3>
#include <EditConstants.au3>
#include <IE.au3>
#include <Debug.au3>
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced", "WebView", "REG_DWORD", "00000000")
$oIE = ObjCreate("Shell.Explorer.2")
$Form1 = GUICreate("ie", 1024, 715, -1, -1,BitOR($WS_EX_LAYERED,$WS_MAXIMIZEBOX, $WS_CLIPSIBLINGS, $WS_CLIPCHILDREN))
$GUIActiveX = GUICtrlCreateObj($oIE, -1, -1, 1024, 800)
GUICtrlSetResizing($GUIActiveX, $GUI_DOCKAUTO )
$Style = GUICtrlCreateButton("Set Style", 45, 50, 150, 20)
GUISetState()
$oIE.navigate("about:blank")
;_IENavigate($oIE, "http://www.autoitscript.com/forum/index.php?")
While 1
WinSetTitle($Form1, "", _IEPropertyGet($oIE, "title"))
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
Exit
EndSelect
WEnd
Exit
|