I presume you need to display the zoom percentage.
1) If you want to capture the event you need to listen for WM_MOUSEWHEEL not WM_SCROLL
2) Zoom percentage can be determined from the font size. Read the current font size and calculate the zoom percentage when the text box receives a WM_MOUSEWHEEL. If the contol key is not pressed the zoom percentage will not change so you don't have to worry about the control key.
sahir
| Fri, 09 Nov 2007 20:40:00 GMT |