Hello, I've used the IOleWindow:GetWindow method to obtain the hwnd of a particular document. It works well, except when trying to query for the hWnd of a document inside a frame. The hwnd is always the document of the root webbrowser, even in a multi-frame environment with multiple webbrowser instances. Is there any way to obtain the hWnd of the document inside the frame/webbrowser? What we're trying to do is match up an HTTP Response received from an IHttpNegotiate:OnResponse to a given frame in the webbrowser. If there is a better way to do it, I'm certainly open to better ways. Thanks!
"Daniel McCann" wrote in message news:ett9qemzIHA.2408@TK2MSFTNGP04.phx.gbl > I've used the IOleWindow:GetWindow method to obtain the hwnd of a > particular document. It works well, except when trying to query for > the hWnd of a document inside a frame. It doesn't have one. Beginning with IE5, frames are windowless. -- With best wishes, Igor Tandetnik With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925
So is there any way of associating the IHttpNegotiate:OnResponse method with a particular frame in a browser? "Igor Tandetnik" wrote in message news:er%23fdqnzIHA.2384@TK2MSFTNGP02.phx.gbl... > "Daniel McCann" wrote in message > news:ett9qemzIHA.2408@TK2MSFTNGP04.phx.gbl >> I've used the IOleWindow:GetWindow method to obtain the hwnd of a >> particular document. It works well, except when trying to query for >> the hWnd of a document inside a frame. > > It doesn't have one. Beginning with IE5, frames are windowless. > -- > With best wishes, > Igor Tandetnik > > With sufficient thrust, pigs fly just fine. However, this is not > necessarily a good idea. It is hard to be sure where they are going to > land, and it could be dangerous sitting under them as they fly > overhead. -- RFC 1925 >
"Daniel McCann" wrote in message news:OKW5b9nzIHA.4004@TK2MSFTNGP03.phx.gbl > So is there any way of associating the IHttpNegotiate:OnResponse > method with a particular frame in a browser? I can't think of any. -- With best wishes, Igor Tandetnik With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925