Original Post
I am having trouble getting the WM_MOUSEWHEEL event handler written so that my program will compile. Apparently WM_MOUSEWHEEL is not a constant that's been defined in any of my header files, which I find odd. The errors I'm getting are: (119): error C2065: 'WM_MOUSEWHEEL' : undeclared identifier (119): error C2051: case expression not constant I am using Microsoft Visual C++ .NET 2003. I thought that maybe I would have to update the Platform SDK, which I thought I did, but it didn't help. What I did to update the Platform SDK was the following: 1) Download the latest Platform SDK (MS Platform SDK for Windows Server 2003 SP1) from microsoft.com. 2) Install the SDK to C:\Program Files\Platform SDK 3) Overwrite the folder "C:\Programs Files\MSVS .NET 2003\VC7\PlatformSDK with the folder "C:\Program Files\Platform SDK" and rename it accordingly. It's sort of a "hack" way to do it, and might have not worked.