* include/commctrl.h: Add missing HDM_*,HDN_*,LVSICF_* defines.
* include/commctrl.h (HDITEM[AW]): Rename _HD_ITEM[AW] to _HDITEM[AW], with parallel changes to typedefs. Use defines for backward compatability with old names. Update UNICODE mappings. (HDLAYOUT): Remove struct _HD_LAYOUT_XP. Use new typedefs for struct _HD_LAYOUT and add defines for backward compatability with old names. (NMLISTVIEW): Rename _NM_LISTVIEW to tagNMLISTVIEW, with parallel chages to typedefs. Add defines for backward compatability with old names. (TCHITTESTINFO, IMAGELISTDRAWPARAMS): Fix _WIN32_IE guard.
This commit is contained in:
parent
bcc49082f6
commit
993c684df7
|
@ -1,3 +1,20 @@
|
||||||
|
2002-01-24 Phillip Susi <psusi@cfl.rr.com>
|
||||||
|
|
||||||
|
* include/commctrl.h: Add missing HDM_*,HDN_*,LVSICF_* defines.
|
||||||
|
|
||||||
|
2002-01-24 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
|
* include/commctrl.h (HDITEM[AW]): Rename _HD_ITEM[AW] to
|
||||||
|
_HDITEM[AW], with parallel changes to typedefs. Use defines for
|
||||||
|
backward compatability with old names. Update UNICODE mappings.
|
||||||
|
(HDLAYOUT): Remove struct _HD_LAYOUT_XP. Use new typedefs
|
||||||
|
for struct _HD_LAYOUT and add defines for backward
|
||||||
|
compatability with old names.
|
||||||
|
(NMLISTVIEW): Rename _NM_LISTVIEW to tagNMLISTVIEW, with
|
||||||
|
parallel chages to typedefs. Add defines for backward
|
||||||
|
compatability with old names.
|
||||||
|
(TCHITTESTINFO, IMAGELISTDRAWPARAMS): Fix _WIN32_IE guard.
|
||||||
|
|
||||||
2002-01-21 Robert Collins <rbtcollins@hotmail.com>
|
2002-01-21 Robert Collins <rbtcollins@hotmail.com>
|
||||||
|
|
||||||
* include/winnt.h: Add missing MEM_ defines, and convert existing to
|
* include/winnt.h: Add missing MEM_ defines, and convert existing to
|
||||||
|
|
|
@ -179,6 +179,7 @@ extern "C" {
|
||||||
#define HDM_LAYOUT (HDM_FIRST+5)
|
#define HDM_LAYOUT (HDM_FIRST+5)
|
||||||
#if (_WIN32_IE >= 0x0300)
|
#if (_WIN32_IE >= 0x0300)
|
||||||
#define HDM_GETITEMRECT (HDM_FIRST+7)
|
#define HDM_GETITEMRECT (HDM_FIRST+7)
|
||||||
|
#define HDM_GETORDERARRAY (HDM_FIRST+17)
|
||||||
#define HDM_SETORDERARRAY (HDM_FIRST+18)
|
#define HDM_SETORDERARRAY (HDM_FIRST+18)
|
||||||
#endif
|
#endif
|
||||||
#define HHT_NOWHERE 1
|
#define HHT_NOWHERE 1
|
||||||
|
@ -206,6 +207,10 @@ extern "C" {
|
||||||
#define HDN_ENDTRACKW (HDN_FIRST-27)
|
#define HDN_ENDTRACKW (HDN_FIRST-27)
|
||||||
#define HDN_TRACKA (HDN_FIRST-8)
|
#define HDN_TRACKA (HDN_FIRST-8)
|
||||||
#define HDN_TRACKW (HDN_FIRST-28)
|
#define HDN_TRACKW (HDN_FIRST-28)
|
||||||
|
#if _WIN32_IE >= 0x0300
|
||||||
|
#define HDN_ENDDRAG (HDN_FIRST-11)
|
||||||
|
#define HDN_BEGINDRAG (HDN_FIRST-10)
|
||||||
|
#endif
|
||||||
#define CMB_MASKED 2
|
#define CMB_MASKED 2
|
||||||
#define TBSTATE_CHECKED 1
|
#define TBSTATE_CHECKED 1
|
||||||
#define TBSTATE_PRESSED 2
|
#define TBSTATE_PRESSED 2
|
||||||
|
@ -550,6 +555,8 @@ extern "C" {
|
||||||
#define LVS_EX_SUBITEMIMAGES 2
|
#define LVS_EX_SUBITEMIMAGES 2
|
||||||
#define LVS_EX_TRACKSELECT 8
|
#define LVS_EX_TRACKSELECT 8
|
||||||
#define LVS_EX_TWOCLICKACTIVATE 128
|
#define LVS_EX_TWOCLICKACTIVATE 128
|
||||||
|
#define LVSICF_NOINVALIDATEALL 0x00000001
|
||||||
|
#define LVSICF_NOSCROLL 0x00000002
|
||||||
#endif
|
#endif
|
||||||
#define LVSIL_NORMAL 0
|
#define LVSIL_NORMAL 0
|
||||||
#define LVSIL_SMALL 1
|
#define LVSIL_SMALL 1
|
||||||
|
@ -1206,7 +1213,7 @@ typedef struct _IMAGEINFO {
|
||||||
RECT rcImage;
|
RECT rcImage;
|
||||||
} IMAGEINFO;
|
} IMAGEINFO;
|
||||||
DECLARE_HANDLE(HIMAGELIST);
|
DECLARE_HANDLE(HIMAGELIST);
|
||||||
typedef struct _HD_ITEMA {
|
typedef struct _HDITEMA {
|
||||||
UINT mask;
|
UINT mask;
|
||||||
int cxy;
|
int cxy;
|
||||||
LPSTR pszText;
|
LPSTR pszText;
|
||||||
|
@ -1222,8 +1229,8 @@ typedef struct _HD_ITEMA {
|
||||||
UINT type;
|
UINT type;
|
||||||
LPVOID pvFilter;
|
LPVOID pvFilter;
|
||||||
#endif
|
#endif
|
||||||
} HD_ITEMA;
|
} HDITEMA, * LPHDITEMA;
|
||||||
typedef struct _HD_ITEMW {
|
typedef struct _HDITEMW {
|
||||||
UINT mask;
|
UINT mask;
|
||||||
int cxy;
|
int cxy;
|
||||||
LPWSTR pszText;
|
LPWSTR pszText;
|
||||||
|
@ -1239,32 +1246,16 @@ typedef struct _HD_ITEMW {
|
||||||
UINT type;
|
UINT type;
|
||||||
LPVOID pvFilter;
|
LPVOID pvFilter;
|
||||||
#endif
|
#endif
|
||||||
} HD_ITEMW;
|
} HDITEMW, * LPHDITEMW;
|
||||||
typedef struct _HDITEM {
|
/* for backward compatability */
|
||||||
UINT mask;
|
#define HD_ITEMA HDITEMA
|
||||||
int cxy;
|
#define HD_ITEMW HDITEMW
|
||||||
LPTSTR pszText;
|
#define HD_ITEM HDITEM
|
||||||
HBITMAP hbm;
|
|
||||||
int cchTextMax;
|
|
||||||
int fmt;
|
|
||||||
LPARAM lParam;
|
|
||||||
#if (_WIN32_IE >= 0x0300)
|
|
||||||
int iImage;
|
|
||||||
int iOrder;
|
|
||||||
#endif
|
|
||||||
#if (_WIN32_IE >= 0x0500)
|
|
||||||
UINT type;
|
|
||||||
LPVOID pvFilter;
|
|
||||||
#endif
|
|
||||||
} HDITEM, FAR * LPHDITEM;
|
|
||||||
typedef struct _HD_LAYOUT {
|
typedef struct _HD_LAYOUT {
|
||||||
RECT *prc;
|
RECT *prc;
|
||||||
WINDOWPOS *pwpos;
|
WINDOWPOS *pwpos;
|
||||||
} HD_LAYOUT;
|
} HDLAYOUT, *LPHDLAYOUT;
|
||||||
typedef struct _HD_LAYOUT_XP {
|
#define HD_LAYOUT HDLAYOUT /* backward compatability */
|
||||||
RECT FAR* prc;
|
|
||||||
WINDOWPOS FAR* pwpos;
|
|
||||||
} HDLAYOUT, FAR *LPHDLAYOUT;
|
|
||||||
typedef struct _HD_HITTESTINFO {
|
typedef struct _HD_HITTESTINFO {
|
||||||
POINT pt;
|
POINT pt;
|
||||||
UINT flags;
|
UINT flags;
|
||||||
|
@ -1503,7 +1494,7 @@ typedef struct _LVCOLUMNW {
|
||||||
#define _LV_COLUMNW _LVCOLUMNW
|
#define _LV_COLUMNW _LVCOLUMNW
|
||||||
#define LV_COLUMNW LVCOLUMNW
|
#define LV_COLUMNW LVCOLUMNW
|
||||||
typedef int(CALLBACK *PFNLVCOMPARE)(LPARAM,LPARAM,LPARAM);
|
typedef int(CALLBACK *PFNLVCOMPARE)(LPARAM,LPARAM,LPARAM);
|
||||||
typedef struct _NM_LISTVIEW {
|
typedef struct tagNMLISTVIEW {
|
||||||
NMHDR hdr;
|
NMHDR hdr;
|
||||||
int iItem;
|
int iItem;
|
||||||
int iSubItem;
|
int iSubItem;
|
||||||
|
@ -1512,7 +1503,11 @@ typedef struct _NM_LISTVIEW {
|
||||||
UINT uChanged;
|
UINT uChanged;
|
||||||
POINT ptAction;
|
POINT ptAction;
|
||||||
LPARAM lParam;
|
LPARAM lParam;
|
||||||
} NM_LISTVIEW,*LPNM_LISTVIEW;
|
} NMLISTVIEW, *LPNMLISTVIEW;
|
||||||
|
/* for backward compatability */
|
||||||
|
#define _NM_LISTVIEW tagNMLISTVIEW
|
||||||
|
#define NM_LISTVIEW NMLISTVIEW
|
||||||
|
#define LPNM_LISTVIEW LPNMLISTVIEW
|
||||||
typedef struct tagNMLVDISPINFOA {
|
typedef struct tagNMLVDISPINFOA {
|
||||||
NMHDR hdr;
|
NMHDR hdr;
|
||||||
LV_ITEMA item;
|
LV_ITEMA item;
|
||||||
|
@ -1796,7 +1791,8 @@ typedef struct tagIMAGELISTDRAWPARAMS {
|
||||||
UINT fStyle;
|
UINT fStyle;
|
||||||
DWORD dwRop;
|
DWORD dwRop;
|
||||||
} IMAGELISTDRAWPARAMS,*LPIMAGELISTDRAWPARAMS;
|
} IMAGELISTDRAWPARAMS,*LPIMAGELISTDRAWPARAMS;
|
||||||
#elif (_WIN32_IE >= 0x0400)
|
#endif /* (_WIN32_IE >= 0x0300) */
|
||||||
|
#if (_WIN32_IE >= 0x0400)
|
||||||
typedef struct tagNMREBARCHILDSIZE {
|
typedef struct tagNMREBARCHILDSIZE {
|
||||||
NMHDR hdr;
|
NMHDR hdr;
|
||||||
UINT uBand;
|
UINT uBand;
|
||||||
|
@ -2117,7 +2113,7 @@ WINBOOL WINAPI ImageList_DrawIndirect(IMAGELISTDRAWPARAMS*);
|
||||||
#define WC_LISTVIEW WC_LISTVIEWW
|
#define WC_LISTVIEW WC_LISTVIEWW
|
||||||
#define WC_TABCONTROL WC_TABCONTROLW
|
#define WC_TABCONTROL WC_TABCONTROLW
|
||||||
#define WC_TREEVIEW WC_TREEVIEWW
|
#define WC_TREEVIEW WC_TREEVIEWW
|
||||||
typedef HD_ITEMW HD_ITEM;
|
typedef HDITEMW HDITEM;
|
||||||
typedef TOOLINFOW TOOLINFO,*PTOOLINFO,*LPTOOLINFO;
|
typedef TOOLINFOW TOOLINFO,*PTOOLINFO,*LPTOOLINFO;
|
||||||
typedef TTHITTESTINFOW TTHITTESTINFO,*LPHITTESTINFO;
|
typedef TTHITTESTINFOW TTHITTESTINFO,*LPHITTESTINFO;
|
||||||
typedef TOOLTIPTEXTW TOOLTIPTEXT,*LPTOOLTIPTEXT;
|
typedef TOOLTIPTEXTW TOOLTIPTEXT,*LPTOOLTIPTEXT;
|
||||||
|
@ -2255,7 +2251,7 @@ typedef REBARBANDINFOW REBARBANDINFO,*LPREBARBANDINFO;
|
||||||
#define WC_LISTVIEW WC_LISTVIEWA
|
#define WC_LISTVIEW WC_LISTVIEWA
|
||||||
#define WC_TABCONTROL WC_TABCONTROLA
|
#define WC_TABCONTROL WC_TABCONTROLA
|
||||||
#define WC_TREEVIEW WC_TREEVIEWA
|
#define WC_TREEVIEW WC_TREEVIEWA
|
||||||
typedef HD_ITEMA HD_ITEM;
|
typedef HDITEMA HDITEM;
|
||||||
typedef TOOLINFOA TOOLINFO,*PTOOLINFO,*LPTOOLINFO;
|
typedef TOOLINFOA TOOLINFO,*PTOOLINFO,*LPTOOLINFO;
|
||||||
typedef TTHITTESTINFOA TTHITTESTINFO,*LPHITTESTINFO;
|
typedef TTHITTESTINFOA TTHITTESTINFO,*LPHITTESTINFO;
|
||||||
typedef TOOLTIPTEXTA TOOLTIPTEXT,*LPTOOLTIPTEXT;
|
typedef TOOLTIPTEXTA TOOLTIPTEXT,*LPTOOLTIPTEXT;
|
||||||
|
|
Loading…
Reference in New Issue