QAxWidget + IE ActiveX object problem
General and Desktop
3
Posts
3
Posters
2.4k
Views
1
Watching
-
Hi All,
It seems to be there is a problem in QAxWidget, please correct me if I'm wrong.
I spent two days trying to put IE ActiveX object on a Qt form. Everything went fine first but when I began castomizing browser window appearance (scrollbars etc) the problem raised.
I wrote my own IDocHostUIHandler implementation (as recommended) but it seemed to be impossible the original (default) one.
In short: I create QAxWidget, queryInterface to IWebBrowser2 (OK), queryIntf to IOleObject (OK), then GetClientSite (also OK), but returned object cannot be queried for IDocHostUIHandler.
Am I doing it wrong or it's an AxWidget bug? The point is I successfully did this task in MFC sample. CHtmlView works fine in this case. -
Hi, do you have any solution ?