How to get HWND native handle for a frame? (html page with frames!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Not sure that's the right place to ask.
I have a IWebBrowser2 unique pointer to a frame, so I can easily get the
HWND, document or document.parentWindow properties. However, all of these (or
other derived methods, such as getting an IOleWindow from the document,
IWebBrowser2 or IWebBrowser2.Application) seem to return the handle of the
browser itself, not of the inner frame.

Is there a way to get the HWND handle of the scrollable window hosting a
single frame in a page with frames?
 
Back
Top