* 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> 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. (LVHITTESTINFO): Likewise.
* include/wingdi.h (GRADIENT_TRIANGLE): Add structure. * include/wingdi.h (GRADIENT_TRIANGLE): Add structure.

View File

@ -1612,20 +1612,30 @@ typedef struct {
UINT nIDNew; UINT nIDNew;
int nButtons; int nButtons;
} TBREPLACEBITMAP,*LPTBREPLACEBITMAP; } TBREPLACEBITMAP,*LPTBREPLACEBITMAP;
typedef struct tagTBNOTIFYA { typedef struct tagNMTOOLBARA {
NMHDR hdr; NMHDR hdr;
int iItem; int iItem;
TBBUTTON tbButton; TBBUTTON tbButton;
int cchText; int cchText;
LPSTR pszText; LPSTR pszText;
} TBNOTIFYA,*LPTBNOTIFYA; #if (_WIN32_IE >= 0x500)
typedef struct tagTBNOTIFYW { RECT rcButton;
#endif
} NMTOOLBARA, *LPNMTOOLBARA;
#define TBNOTIFYA NMTOOLBARA
#define LPTBNOTIFYA LPNMTOOLBARA
typedef struct tagNMTOOLBARW {
NMHDR hdr; NMHDR hdr;
int iItem; int iItem;
TBBUTTON tbButton; TBBUTTON tbButton;
int cchText; int cchText;
LPWSTR pszText; LPWSTR pszText;
} TBNOTIFYW,*LPTBNOTIFYW; #if (_WIN32_IE >= 0x500)
RECT rcButton;
#endif
} NMTOOLBARW, *LPNMTOOLBARW;
#define TBNOTIFYW NMTOOLBARW
#define LPTBNOTIFYW LPNMTOOLBARW
typedef struct tagTOOLINFOA { typedef struct tagTOOLINFOA {
UINT cbSize; UINT cbSize;
UINT uFlags; UINT uFlags;
@ -2147,6 +2157,16 @@ typedef struct tagNMRBAUTOSIZE {
RECT rcTarget; RECT rcTarget;
RECT rcActual; RECT rcActual;
} NMRBAUTOSIZE,*LPNMRBAUTOSIZE; } 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 { typedef struct _RB_HITTESTINFO {
POINT pt; POINT pt;
UINT flags; UINT flags;
@ -2518,6 +2538,8 @@ typedef NMTREEVIEWW NMTREEVIEW,*LPNMTREEVIEW;
#endif #endif
#define TBNOTIFY TBNOTIFYW #define TBNOTIFY TBNOTIFYW
#define LPTBNOTIFY LPTBNOTIFYW #define LPTBNOTIFY LPTBNOTIFYW
#define NMTOOLBAR NMTOOLBARW
#define LPNMTOOLBAR LPNMTOOLBARW
#define TOOLTIPS_CLASS TOOLTIPS_CLASSW #define TOOLTIPS_CLASS TOOLTIPS_CLASSW
#define TTM_ADDTOOL TTM_ADDTOOLW #define TTM_ADDTOOL TTM_ADDTOOLW
#define TTM_DELTOOL TTM_DELTOOLW #define TTM_DELTOOL TTM_DELTOOLW
@ -2682,6 +2704,8 @@ typedef NMTREEVIEWA NMTREEVIEW,*LPNMTREEVIEW;
#endif #endif
#define TBNOTIFY TBNOTIFYA #define TBNOTIFY TBNOTIFYA
#define LPTBNOTIFY LPTBNOTIFYA #define LPTBNOTIFY LPTBNOTIFYA
#define NMTOOLBAR NMTOOLBARA
#define LPNMTOOLBAR LPNMTOOLBARA
#define TTM_ADDTOOL TTM_ADDTOOLA #define TTM_ADDTOOL TTM_ADDTOOLA
#define TTM_DELTOOL TTM_DELTOOLA #define TTM_DELTOOL TTM_DELTOOLA
#define TTM_NEWTOOLRECT TTM_NEWTOOLRECTA #define TTM_NEWTOOLRECT TTM_NEWTOOLRECTA