Re: [PATCH] Add definitions to winuser.h
Danny Smith <[email protected]>
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <006801c21725$afa83360$4098a7cb@DANNY> |
----- Original Message ----- From: "Casper Hornstrup" <[email protected]> > > Index: include/winuser.h > =================================================================== > RCS file: /cvsroot/mingw/w32api/include/winuser.h,v > retrieving revision 1.16 > diff -b -u -r1.16 winuser.h > --- include/winuser.h 14 Jun 2002 11:44:47 -0000 1.16 > +++ include/winuser.h 15 Jun 2002 12:33:01 -0000 > @@ -1587,6 +1587,42 @@ > #define VK_INSERT 45 > #define VK_DELETE 46 > #define VK_HELP 47 > +#define VK_0 48 ==snip== > +#define VK_Z 90 Hard coding VK_0-VK9 and VK_A-VKZ as per classic C-locale table okay as long as we stick to C-locale, but I'm not sure how it will affect other locales/keyboards. Would it be safer to define like #define VK_0 '0' #define VK_1 '1' etc. maybe it doesn't matter, but a report to mingw-users said that MS header does not define these at all. Danny ---------------------------------------------------------------------------- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<<