找回密码
 加入
搜索
查看: 3827|回复: 0

[IE类操作] 内嵌的IE控件,ControlMove 没反应,怎么解 ?

[复制链接]
发表于 2014-1-22 14:27:40 | 显示全部楼层 |阅读模式
本帖最后由 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   又是可以的,奇怪
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-2 22:46 , Processed in 0.075446 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表