I hosted the
WebBrowser control by attaching to a CAxWindow in my ATL application. But I was having trouble when the control was not getting repainted properly. After spending a lot of time, I found the solution
here. It seems it is a bug with the control. I tracked down the function that was resizing the control and I called the UpdateWindow API passing it the m_hWnd of the host CAxWindow. The repaint problem was solved after that.
No comments:
Post a Comment