eliminating Optical Zoom in Web Browser Control conatined in an ActiveX in Internet Explorer 7



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



.



Relevant Pages

  • Re: warning message
    ... Since the OWC is an ActiveX control, ... A windows control doesn't need explicit rights to interact with the desktop. ... Alvin Bruney ... It does look like that but I do not use any web browser for this ...
    (microsoft.public.office.developer.web.components)
  • Re: Linked lists?
    ... I think you are talking about framework 2.0 right? ... have a tag property on it, use that to put the web browser control in it. ... I know how to create the tab pages ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: dotnet activex equivalent?
    ... Michel Posseth [MCP] ... in the mean time I've played with creating the custom control but I'm ... how can I get client machine access from within a web browser? ... I would like to create an application that runs in a web browser. ...
    (microsoft.public.dotnet.languages.vb)
  • Embed a WebBrowser in CAxDialogImpl in a COM component
    ... control loads a special html page which contains an input form. ... but when I test the interface, I found that the accelerate keys can't ... be handled by the web browser, for example, I press tab key, the focus ... I have read the documents about CAxDialogImpl in MSDN, ...
    (microsoft.public.vc.atl)
  • IE7 - Web Browser Control - Called from ActiveX - Uses the browsers zoom factor
    ... I have a ActiveX that opens an ATL - CAxDialogImpl that has a Web Browser ... Browser control also use this setting ... I like to be able to control the optical zoom for the Web Browser Control. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)