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

[IE类操作] 为何找不到程序内嵌IE控件?

[复制链接]
发表于 2016-8-12 16:28:58 | 显示全部楼层 |阅读模式
$handle = WinGetHandle("[class:Internet Explorer_Server;instance:5]")
MsgBox(0,"",$handle)
local $oIE = _IEAttach($handle, "hwnd")
If IsObj($oIE) Then
        MsgBox(0,"","找到窗口")
Else
        MsgBox(0,"","找不到窗口");
EndIf

$handle不为0,说明找到了内嵌的浏览器控件窗口,但是_IEAttach($handle, "hwnd")返回0
为什么?
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-5-20 00:40 , Processed in 0.068972 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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