comctl32: Add some SysLink style and state definitions. (try 2)
Francois Gouget
fgouget at codeweavers.com
Thu Sep 22 09:50:22 CDT 2011
---
This supersedes my previous patch. Not that the previous one is wrong
but a bit later I ran across a few other definitions that are missing
and it seemed silly to add them in separate patches. Of course this
patch may arrive too late to avoid that anyway.
include/commctrl.h | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/include/commctrl.h b/include/commctrl.h
index e19b861..0139488 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -5098,6 +5098,10 @@ static const WCHAR WC_LINK[] = { 'S','y','s','L','i','n','k',0 };
/* SysLink styles */
#define LWS_TRANSPARENT 0x0001
#define LWS_IGNORERETURN 0x0002
+#define LWS_NOPREFIX 0x0004
+#define LWS_USEVISUALSTYLE 0x0008
+#define LWS_USECUSTOMTEXT 0x0010
+#define LWS_RIGHT 0x0020
/* SysLink messages */
#define LM_HITTEST (WM_USER + 768)
@@ -5115,9 +5119,11 @@ static const WCHAR WC_LINK[] = { 'S','y','s','L','i','n','k',0 };
/* SysLink links states */
-#define LIS_FOCUSED 1
-#define LIS_ENABLED 2
-#define LIS_VISITED 4
+#define LIS_FOCUSED 0x0001
+#define LIS_ENABLED 0x0002
+#define LIS_VISITED 0x0004
+#define LIS_HOTTRACK 0x0008
+#define LIS_DEFAULTCOLORS 0x0010
/* SysLink misc. */
--
1.7.5.4
More information about the wine-patches
mailing list