Hello,
I was just adding mousewheel scrolling to my program, and found WM_MOUSEWHEEL not defined. A search revealed it to be defined in winuser.h; however, adding this include file didn't help. So I have copied and pasted #define WM_MOUSEWHEEL 0x020A from the include file. Seems the wrong way to do things, though. How can I make it work via the include file, just out of interest?
WM_MOUSEWHEEL is defined within this #if:
#if (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
But I don't know enough about things to know whether those symbols are defined, or what compiler options, if any, cause them to be defined. (I'm on win2k, so they should be... hey, maybe that's not it at all).