|
发表于 2009-1-14 20:41:30
|
显示全部楼层
delphi里面内嵌的ie browser可以用
_IEAttach ( $s_string [, $s_mode = "Title" [, $i_instance = 1]] )的DialogBox 模式,可以用"AutoIt Window Info" 查看是否有"Internet Explorer_Server“控件。
_IEAttach provides the "dialogbox" parameter to attach to modal and modeless dialogs created by the browser. It is important to note that not all dialogs created through browser interaction can be attached to and controlled in this way. Many of these dialogs are actually standard windows and can be controlled through the traditional AutoIt window functions. A reliable way to tell the difference between these types of windows is to use the "AutoIt Window Info" tool to examine it -- if the window contains a control called "Internet Explorer_Server" then you can attach to it with this function, if it does not it is a standard window and traditional AutoIt windows functions must be used to control it. |
|