#Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_icon=D:\ico\tab_danger.ico
#AutoIt3Wrapper_outfile=fullIE.exe
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>
Opt("TrayIconHide",1)
_IEErrorHandlerRegister ()
GUICreate("全屏浏览器", 3030, 750, (@DesktopWidth - 1033) / 2, (@DesktopHeight - 750) / 2, $WS_POPUPWINDOW, $WS_EX_TOOLWINDOW)
$oIE = _IECreateEmbedded()
$web = "http://www.baidu.com/"
$GUIActiveX = GUICtrlCreateObj($oIE, -2, -2, 1030, 735)
$GUI_Button_Stop = GUICtrlCreateButton("停 止", 20, 718, 80, 30)
$GUI_Button_Refresh = GUICtrlCreateButton("刷 新", 290, 718, 80, 30)
$GUI_Button_Home = GUICtrlCreateButton("主 页", 560, 718, 80, 30)
$GUI_Button_Back = GUICtrlCreateButton("后 退", 1100, 718, 80, 30)
$GUI_Button_Forward = GUICtrlCreateButton("前 进", 1520, 718, 80, 30)
$GUI_Button_Up = GUICtrlCreateButton("上 翻", 1790, 718, 80, 30)
$GUI_Button_Down = GUICtrlCreateButton("下 翻", 2060, 718, 80, 30)
$GUI_Button_Close = GUICtrlCreateButton("退 出", 2920, 718, 80, 30)
GUISetState();(@SW_SHOW)
GUISetState(@SW_MAXIMIZE)
$oIE.navigate("about:blank")
$oIE.document.body.style.border = "0"
$oIE.document.write("<body style='border:0;margin:0px'><iframe scrolling=no frameborder=0 src =" & $web & " width=100% height=100%></iframe></body>")
$oIE.refresh
$oIE.document.body.scroll = "no"
$colLinks = _IELinkGetCollection($oIE)
While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_Button_Stop
_IEAction ($oIE, "stop")
Case $msg = $GUI_Button_Refresh
_IEAction ($oIE, "Refresh")
Case $msg = $GUI_Button_Home
_IENavigate ($oIE, $web)
Case $msg = $GUI_Button_Back
_IEAction ($oIE, "back")
Case $msg = $GUI_Button_Forward
_IEAction ($oIE, "forward")
; Case $msg = ($GUI_Button_Up);上翻 占位
; _IEAction ($oIE, "up")
; Case $msg = ($GUI_Button_Down);下翻 占位
; _IEAction ($oIE, "down")
Case $msg = $GUI_Button_Close
ExitLoop
EndSelect
WEnd
Exit