本帖最后由 fenhanxue 于 2014-1-22 14:30 编辑 #include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>
Local $oIE = _IECreateEmbedded()
$Form1 = GUICreate("test", 700, 700, 192, 124)
$obj_IE = GUICtrlCreateObj($oIE, 10,10, 200, 200);控件大小
GUISetState(@SW_SHOW)
_IENavigate($oIE,"about:blank")
$a = ControlMove($Form1,"",$oIE,100,500);此处没反应
MsgBox(0,"",$a);$a 返回值为 0 ,什么原因?
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
_IEQuit($oIE)
Exit
EndSwitch
WEnd
不过貌似用:GUICtrlSetPos 又是可以的,奇怪 |