Re: DC_GRADIENT and DC_BUTTONS
Danny Smith <[email protected]> Fri, 22 Aug 2003 22:55:49 +1200
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <001101c3689b$f3ba0560$4f90a7cb@DANNY> |
----- Original Message ----- From: "Silver Blade" > > Changelog entry: > > 2003-08-19 Andrew Greenwood <lists-JCKMKWeByS2j5a8ZAWZ3aFpr/1R2p/[email protected]> > > * include/winuser.h (DC_*): Add DC_GRADIENT and DC_BUTTONS > definitions, and add DC_GRADIENT to DC_CAPTION. > > I've checked in your DC_GRADIENT define. The DC_BUTTONS define was wrong (should be 0x1000). I don't think DC_CAPTION or DC_NC belong here, but I've left alone for now. Danny > Patch: (also attached) > > Index: winuser.h > =================================================================== > RCS file: /cvs/src/src/winsup/w32api/include/winuser.h,v > retrieving revision 1.46 > diff -u -r1.46 winuser.h > --- winuser.h 18 Aug 2003 09:43:24 -0000 1.46 > +++ winuser.h 19 Aug 2003 16:53:51 -0000 > @@ -381,7 +381,9 @@ > #define DC_ICON 4 > #define DC_TEXT 8 > #define DC_INBUTTON 16 > -#define DC_CAPTION (DC_ICON|DC_TEXT|DC_BUTTONS) > +#define DC_GRADIENT 32 > +#define DC_BUTTONS 64 > +#define DC_CAPTION (DC_ICON|DC_TEXT|DC_BUTTONS|DC_GRADIENT) > #define DC_NC (DC_CAPTION|DC_FRAME) > #define BDR_RAISEDOUTER 1 > #define BDR_SUNKENOUTER 2 > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0