* 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.
This commit is contained in:
Danny Smith 2003-01-04 11:52:06 +00:00
parent 61b9f92918
commit f2f59a268f
2 changed files with 38 additions and 5 deletions

View File

@ -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.

View File

@ -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