summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/commctrl.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-09-15 10:21:57 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-09-15 10:21:57 +0000
commitb639ac2b93e78549b8b49c86a5cc34e9942f5907 (patch)
treeb0aab18d18634fa9119049a0558342820bf444ff /winsup/w32api/include/commctrl.h
parent8818daa21296e15ce1bc480c09c1ec30a4fc9470 (diff)
downloadcygnal-b639ac2b93e78549b8b49c86a5cc34e9942f5907.tar.gz
cygnal-b639ac2b93e78549b8b49c86a5cc34e9942f5907.tar.bz2
cygnal-b639ac2b93e78549b8b49c86a5cc34e9942f5907.zip
2003-09-15 Danny Smith <dannysmith@users.sourceforge.net>
* include/ws2spi.h (LPWSPBIND): Change CONST LPSOCKADDR to const struct sockaddr*. (LPWSPCONNECT): Likewise. (LPWSPJOINLEAF): Likewise. (LPWSPSENDTO): Likewise. Tanks to Sebastian Nowak <snowak1@users.spourceforge.net> 2003-09-15 Filip Navara <xnavara@volny.cz> * include/commctrl.h (TCIS_BUTTONPRESSED, TCIS_HIGHLIGHTED): Add definitions. 2003-09-15 Sascha Brawer <brawer@dandelis.ch> * include/winuser.h (DISPLAY_DEVICE_ATTACHED_TO_DESKTOP, DISPLAY_DEVICE_PRIMARY_DEVICE, DISPLAY_DEVICE_MIRRORING_DRIVER, DISPLAY_DEVICE_VGA_COMPATIBLE, DISPLAY_DEVICE_REMOVABLE, DISPLAY_DEVICE_MODESPRUNED): Define constants. (ChangeDisplaySettingsEx[A,W]): Add prototype. * lib/user32.def (ChangeDisplaySettingsEx[A,W]): Add exports. (EnumDisplayDevices[A,W]): Likewise. 2003-09-15 Danny Smith <dannysmith@users.sourceforge.net> * include.commctrl.h (_WIN32_WINNT): Change _WXP to 0x0501, throughout.
Diffstat (limited to 'winsup/w32api/include/commctrl.h')
-rw-r--r--winsup/w32api/include/commctrl.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h
index 0804be50d..15f2d24d2 100644
--- a/winsup/w32api/include/commctrl.h
+++ b/winsup/w32api/include/commctrl.h
@@ -440,9 +440,9 @@ extern "C" {
#define TBSTYLE_EX_MIXEDBUTTONS 8
#define TBSTYLE_EX_HIDECLIPPEDBUTTONS 16
#endif /* _WIN32_IE >= 0x0501 */
-#if (_WIN32_WINNT >= _WXP)
+#if (_WIN32_WINNT >= 0x0501)
#define TBSTYLE_EX_DOUBLEBUFFER 0x80
-#endif /* _WIN32_WINNT >= _WXP */
+#endif /* _WIN32_WINNT >= 0x0501 */
#if (_WIN32_IE >= 0x0500)
#define BTNS_BUTTON TBSTYLE_BUTTON
#define BTNS_SEP TBSTYLE_SEP
@@ -914,7 +914,7 @@ extern "C" {
#define CDIS_SELECTED 1
#define CDIS_MARKED 128
#define CDIS_INDETERMINATE 256
-#if (_WIN32_WINNT >= _WXP)
+#if (_WIN32_WINNT >= 0x0501)
#define CDIS_SHOWKEYBOARDCUES 512
#endif
#define CDDS_POSTERASE 4
@@ -990,7 +990,7 @@ extern "C" {
#define LVIF_INDENT 16
#define LVIF_NORECOMPUTE 2048
#endif
-#if (_WIN32_WINNT >= _WXP)
+#if (_WIN32_WINNT >= 0x0501)
#define LVIF_GROUPID 128
#define LVIF_COLUMNS 256
#endif
@@ -1374,6 +1374,10 @@ extern "C" {
#if (_WIN32_IE >= 0x0400)
#define TCIF_STATE 16
#endif
+#define TCIS_BUTTONPRESSED 1
+#if (_WIN32_IE >= 0x0400)
+#define TCIS_HIGHLIGHTED 2
+#endif
#define TCM_FIRST 0x1300
#define TCM_GETIMAGELIST (TCM_FIRST+2)
#define TCM_SETIMAGELIST (TCM_FIRST+3)
@@ -1441,7 +1445,7 @@ extern "C" {
#define CCM_SETVERSION 0x2007
#define CCM_GETVERSION 0x2008
#define CCM_SETNOTIFYWINDOW 0x2009
-#if (_WIN32_WINNT >= _WXP)
+#if (_WIN32_WINNT >= 0x0501)
#define CCM_SETWINDOWTHEME 0x200b
#define CCM_DPISCALE 0x200c
#endif
@@ -2119,7 +2123,7 @@ typedef struct _NMTBCUSTOMDRAW {
RECT rcText;
int nStringBkMode;
int nHLStringBkMode;
-#if (_WIN32_WINNT >= _WXP)
+#if (_WIN32_WINNT >= 0x0501)
int iListGap;
#endif
} NMTBCUSTOMDRAW, * LPNMTBCUSTOMDRAW;
@@ -2275,7 +2279,7 @@ typedef struct _LVITEMA {
#if (_WIN32_IE >= 0x0300)
int iIndent;
#endif
-#if (_WIN32_WINNT >= _WXP)
+#if (_WIN32_WINNT >= 0x0501)
int iGroupId;
UINT cColumns;
PUINT puColumns;
@@ -2296,7 +2300,7 @@ typedef struct _LVITEMW {
#if (_WIN32_IE >= 0x0300)
int iIndent;
#endif
-#if (_WIN32_WINNT >= _WXP)
+#if (_WIN32_WINNT >= 0x0501)
int iGroupId;
UINT cColumns;
PUINT puColumns;
@@ -2700,7 +2704,7 @@ typedef struct tagIMAGELISTDRAWPARAMS {
COLORREF rgbFg;
UINT fStyle;
DWORD dwRop;
-#if (_WIN32_WINNT >= _WXP)
+#if (_WIN32_WINNT >= 0x0501)
DWORD fState;
DWORD Frame;
COLORREF crEffect;