eliminating Optical Zoom in Web Browser Control conatined in an ActiveX in Internet Explorer 7
- From: "Microsoft" <daniel.rossler@xxxxxxxxxxxxxxxx>
- Date: Wed, 25 Apr 2007 20:41:41 +0200
I have a ActiveX that opens an ATL - CAxDialogImpl that has a Web Browser
control on it that displays HTML.
In Internet Explorer 7, if the user chooses zoom, for example 150%, the Web
Browser control also use this setting
and zooms its content to 150%, this is not my required behaviour.
I like to be able to control the optical zoom for the Web Browser Control.
ExecWB( OLECMDID_OPTICAL_ZOOM, OLECMDEXECOPT_DONTPROMPTUSER, NULL,
&vZoom );
allows to retrieve the optical zoom but
ExecWB( OLECMDID_OPTICAL_ZOOM, OLECMDEXECOPT_DONTPROMPTUSER, &vZoom,
NULL );
does not allow to set it
I tried also to override IServiceProvider in the control site and to supply
my own IOleCommandTarget implementaion, it is called but not with the
Optical Zoom parameter
Daniel
.
- Prev by Date: Re: I can use IWebBrowser2::HWND to get the IE top level window but how to get doc window
- Next by Date: Event fired when creating new window
- Previous by thread: I can use IWebBrowser2::HWND to get the IE top level window but how to get doc window
- Next by thread: Event fired when creating new window
- Index(es):
Relevant Pages
|
|