Hi,
I have created and subclassed a webbrowser control in my project. And I
can catch most message of this browser, such as WM_SIZE... But the
WM_SETFOCUS is an exception, in fact, not all WM_SETFOCUS can not catched.
If I call m_wndBrowser.SetFocus, I can catch the focus message in my
OnSetFocus() implementation. But, if I make the browser contrl refresh, with
a page that has a input box, the browser will get focus without notify my
class. I can see the WM_SETFOCUS is sent to the browser control using Spy.
Is there any way to do that?
Thanks in advance
Jeff