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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top