Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-01-04 14:52:06 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2003-01-04 14:52:06 +0300
commitf2f59a268fa739c9e60b12c1b04a36b1db35e017 (patch)
tree426640a77808a5225649d730b765f1fb100aab82
parent61b9f929185ca179ea3996acd939877d6a836428 (diff)
* include/commctrl.h (tagNMTOOLBAR[AW]): Replace obsolete struct
names tagTBNOTIFY[AW] and typedefs. Add defines for backward compatability. Add RECT field. Add UNICODE mappings for new names. (tagNMREBARCHEVRON): Add struct and typedefs for _WIN32_IE >= 0x0500.
-rw-r--r--winsup/w32api/ChangeLog11
-rw-r--r--winsup/w32api/include/commctrl.h32
2 files changed, 38 insertions, 5 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 854551e35..9c17df260 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,6 +1,15 @@
2003-01-04 Danny Smith <dannysmith@users.sourceforge.net>
- * include/commctrl.h (TOOLINFO[AW]: Update structures.
+ * include/commctrl.h (tagNMTOOLBAR[AW]): Replace obsolete struct
+ names tagTBNOTIFY[AW] and typedefs. Add defines for backward
+ compatability. Add RECT field. Add UNICODE mappings for new
+ names.
+ (tagNMREBARCHEVRON): Add struct and typedefs for
+ _WIN32_IE >= 0x0500.
+
+2003-01-04 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/commctrl.h (TOOLINFO[AW]): Update structures.
(LVHITTESTINFO): Likewise.
* include/wingdi.h (GRADIENT_TRIANGLE): Add structure.
diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h
index 4ad2e9c2d..697c32878 100644
--- a/winsup/w32api/include/commctrl.h
+++ b/winsup/w32api/include/commctrl.h
@@ -1612,20 +1612,30 @@ typedef struct {
UINT nIDNew;
int nButtons;
} TBREPLACEBITMAP,*LPTBREPLACEBITMAP;
-typedef struct tagTBNOTIFYA {
+typedef struct tagNMTOOLBARA {
NMHDR hdr;
int iItem;
TBBUTTON tbButton;
int cchText;
LPSTR pszText;
-} TBNOTIFYA,*LPTBNOTIFYA;
-typedef struct tagTBNOTIFYW {
+#if (_WIN32_IE >= 0x500)
+ RECT rcButton;
+#endif
+} NMTOOLBARA, *LPNMTOOLBARA;
+#define TBNOTIFYA NMTOOLBARA
+#define LPTBNOTIFYA LPNMTOOLBARA
+typedef struct tagNMTOOLBARW {
NMHDR hdr;
int iItem;
TBBUTTON tbButton;
int cchText;
LPWSTR pszText;
-} TBNOTIFYW,*LPTBNOTIFYW;
+#if (_WIN32_IE >= 0x500)
+ RECT rcButton;
+#endif
+} NMTOOLBARW, *LPNMTOOLBARW;
+#define TBNOTIFYW NMTOOLBARW
+#define LPTBNOTIFYW LPNMTOOLBARW
typedef struct tagTOOLINFOA {
UINT cbSize;
UINT uFlags;
@@ -2147,6 +2157,16 @@ typedef struct tagNMRBAUTOSIZE {
RECT rcTarget;
RECT rcActual;
} NMRBAUTOSIZE,*LPNMRBAUTOSIZE;
+#if (_WIN32_IE >= 0x0500)
+typedef struct tagNMREBARCHEVRON {
+ NMHDR hdr;
+ UINT uBand;
+ UINT wID;
+ LPARAM lParam;
+ RECT rc;
+ LPARAM lParamNM;
+} NMREBARCHEVRON, *LPNMREBARCHEVRON;
+#endif
typedef struct _RB_HITTESTINFO {
POINT pt;
UINT flags;
@@ -2518,6 +2538,8 @@ typedef NMTREEVIEWW NMTREEVIEW,*LPNMTREEVIEW;
#endif
#define TBNOTIFY TBNOTIFYW
#define LPTBNOTIFY LPTBNOTIFYW
+#define NMTOOLBAR NMTOOLBARW
+#define LPNMTOOLBAR LPNMTOOLBARW
#define TOOLTIPS_CLASS TOOLTIPS_CLASSW
#define TTM_ADDTOOL TTM_ADDTOOLW
#define TTM_DELTOOL TTM_DELTOOLW
@@ -2682,6 +2704,8 @@ typedef NMTREEVIEWA NMTREEVIEW,*LPNMTREEVIEW;
#endif
#define TBNOTIFY TBNOTIFYA
#define LPTBNOTIFY LPTBNOTIFYA
+#define NMTOOLBAR NMTOOLBARA
+#define LPNMTOOLBAR LPNMTOOLBARA
#define TTM_ADDTOOL TTM_ADDTOOLA
#define TTM_DELTOOL TTM_DELTOOLA
#define TTM_NEWTOOLRECT TTM_NEWTOOLRECTA