RE: [GD-Windows] Mouse wheel
Brought to you by:
vexxed72
From: Jon W. <hp...@mi...> - 2002-10-14 17:54:55
|
> Is it normal ? What's the story with those defines for various Windows > versions ? Am I supposed to define one myself before including winuser.h ? > Or did I miss something ? There's a number of #defines you can set to tell the headers that you're targeting various versions of Windows. WIN32_LEAN_AND_MEAN has been a favourite, and WINVER is the "master control" for what version of Windows you're targeting. The whole "what controls came with which version of Windows or Internet Explorer and how can I check for them and install them in my installer" thing is rather annoying, to say the least. To install the later stuff, you need the Windows Installer -- but the earlier systems don't even have *THAT* installed, and the installer redistributable requires a reboot to become effective. Bah! With something as simple as a mesasge constant, you're safe, though, as that message just won't get sent to you on earlier versions, so that switch case won't get hit. No compatibility worries there (unless you require mousewheel for accessing needed functionality in your program). You probably also want to go to the Windows developer download page on MSDN and download/install the Platform SDK (if you haven't already gotten it through a regular MSDN CD) which has rather more updated headers and libraries. Cheers, / h+ |