Re: Fw: define BTNS_... constants [resend]
Danny Smith <[email protected]> Fri, 22 Aug 2003 19:49:50 +1200
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <001d01c36882$134bae70$7d98a7cb@DANNY> |
----- Original Message ----- From: "Martin Fuchs" <[email protected]> To: "Danny Smith" <[email protected]>; <[email protected]> Sent: Friday, 22 August 2003 19:17 Subject: [MinGW-patches] Fw: define BTNS_... constants [resend] Dany, didn't you get this patch? * include/commctrl.h (BTNS_*): Define BTNS_* as successors to the older TBSTYLE_* constants. Yes I did. Danny For the documentation look at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc /platform/commctls/toolbar/styles.asp Index: commctrl.h =================================================================== RCS file: /cvs/src/src/winsup/w32api/include/commctrl.h,v retrieving revision 1.38 diff -u -p -d -r1.38 commctrl.h --- commctrl.h 18 Aug 2003 09:43:24 -0000 1.38 +++ commctrl.h 19 Aug 2003 22:53:56 -0000 @@ -382,6 +382,23 @@ extern "C" { #define TBSTYLE_TRANSPARENT 0x8000 #define TBSTYLE_EX_DRAWDDARROWS 0x00000001 #endif /* _WIN32_IE >= 0x0400 */ + +#if _WIN32_IE>=0x0500 +#define BTNS_BUTTON TBSTYLE_BUTTON +#define BTNS_SEP TBSTYLE_SEP +#define BTNS_CHECK TBSTYLE_CHECK +#define BTNS_GROUP TBSTYLE_GROUP +#define BTNS_CHECKGROUP TBSTYLE_CHECKGROUP +#define BTNS_DROPDOWN TBSTYLE_DROPDOWN +#define BTNS_AUTOSIZE TBSTYLE_AUTOSIZE +#define BTNS_NOPREFIX TBSTYLE_NOPREFIX +#define BTNS_WHOLEDROPDOWN 0x0080 +#endif + +#if _WIN32_IE>=_IE5 +#define BTNS_SHOWTEXT 0x0040 +#endif + #define HINST_COMMCTRL ((HINSTANCE)-1) #define IDB_STD_SMALL_COLOR 0 #define IDB_STD_LARGE_COLOR 1 ------------------------------------------------------- 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 _______________________________________________ MinGW-patches mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-patches ------------------------------------------------------- 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