#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#NoTrayIcon
$Form1 = GUICreate("Form1", 1040, 750, (@DesktopWidth - 1033) / 2, (@DesktopHeight - 775) / 2, $WS_POPUPWINDOW, $WS_EX_TOOLWINDOW)
$oIE = ObjCreate("Shell.Explorer.2")
GUICtrlCreateObj($oIE, -2, -2, 1040, 750)
$oIE.navigate("http://www.baidu.com/")
Do
Until $oIE.Busy = False
$oIE.Document.body.Scroll = "no"
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
ie方面还是推荐你用ie.au3 |