Re: IOleCommandTarget implemented, now print /preview doens't work



"Bob" <Bob@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0A64CE89-2BDA-4BDF-B7E2-EF7003AEB3A0@xxxxxxxxxxxxx
> Me again. You would think I could figure this out myself, but hey.. I
> implemented IOleCommandTarget to prevent the javascript error dialog
> from popping up. (This is MFC webbrowser btw). Now my print / print
> preview stopped working.

See http://www.codeproject.com/atl/popupblocker.asp . Find the parts
that talk about IOleCommandTarget, the article demonstrates a
workaround.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.