crow188 发表于 2016-8-12 16:28:58

为何找不到程序内嵌IE控件?

$handle = WinGetHandle("")
MsgBox(0,"",$handle)
local $oIE = _IEAttach($handle, "hwnd")
If IsObj($oIE) Then
        MsgBox(0,"","找到窗口")
Else
        MsgBox(0,"","找不到窗口");
EndIf

$handle不为0,说明找到了内嵌的浏览器控件窗口,但是_IEAttach($handle, "hwnd")返回0
为什么?
页: [1]
查看完整版本: 为何找不到程序内嵌IE控件?