上下布局的.稍微修改的LS的#include<ie.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$oIE = _IECreateEmbedded()
GUICreate("专用", -1, -1, -1, -1, $WS_SIZEBOX)
$B1 = GUICtrlCreateButton("百度", 0, 0, 75, 25)
$B2 = GUICtrlCreateButton("论坛", 100, 0, 75, 25)
$B3 = GUICtrlCreateButton("淘宝", 200, 0, 75, 25)
$GUIActiveX = GUICtrlCreateObj($oIE, 0, 30, 400, 500)
GUISetState()
While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
Exit
Case $msg = $b1
_IENavigate($oIE, "http://www.baidu.com/")
Case $msg = $b2
;$oIE = _IECreate("http://www.autoitx.com/logging.php?action=login")
_IENavigate($oIE, "http://www.autoitx.com/logging.php?action=login")
Case $msg = $b3
_IENavigate($oIE, "http://www.taobao.com/")
EndSelect
WEnd
|