Click here to Skip to main content
15,881,938 members
Articles / Desktop Programming / WPF

Improve Zooming with Enhanced Mouse Wheels

Rate me:
Please Sign up or sign in to vote.
4.65/5 (7 votes)
19 Oct 2011CPOL6 min read 43.7K   4K   33  
How to give your users a better zooming experience with High Resolution Mouse Wheels.
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once

#include "targetver.h"

#define WIN32_LEAN_AND_MEAN             // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
#include <windows.h>
#include <math.h>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Logitech Corporation
United States United States
Stephen lives in Fremont, CA with his wife and daughter and has programmed in C and C++ for a very long time.

Comments and Discussions