views:

50

answers:

1

Can anyone help me to perform zooming on CHtmlEditCtrl ?

I displayed my html document on CHtmlEditCtrl. Now I want my edit control to display same html document with different zooming level. I saw this feature in InternetExplorer8. Now I need to add this zooming feature to my MFC application.

A: 

ExecWB(OLECMDID_ZOOM, 0, &vFontSize, NULL)

Sheng Jiang 蒋晟
Thanks,But This code will only change the font size of the page.Means it provides zooming of the page like firefox performs when mouse-scroll on holding ctrl button.I need zooming that is provided in InternetExplorer7-and-later.In bottom-right corner there is a zooming combo box.
themilan
OLECMDID_OPTICAL_ZOOM OLECMDIDF_OPTICAL_ZOOM_NOPERSIST?
Sheng Jiang 蒋晟