From: ju on
Hello

I have a MFC program with Web Browser Control.

results = _BrowserWindow.CreateControl(CLSID_WebBrowser, NULL,
(WS_VISIBLE | WS_TABSTOP), browser_window_rect, this,
AFX_IDW_PANE_FIRST);

I know how to set from custom Optical Zoom level from a program.

COleVariant vaZoomFactor(nLevel);
_Browser->ExecWB(OLECMDID_OPTICAL_ZOOM, OLECMDEXECOPT_DONTPROMPTUSER,
&vaZoomFactor, NULL);

I want to make this functionality available using Mouse Wheel + Ctrl
Button (just like in Internet Expliorer)

How can I catch Mouse Wheel events for browser?

I also use COleControlSite class which implement IDocHostUIHandler and
IDocHostShowUI interfaces