Add missing static control styles

Andreas Mohr andi at rhlx01.fht-esslingen.de
Thu Jun 17 09:24:43 CDT 2004


Hi all,

[see subject]

Andreas Mohr
-------------- next part --------------
Index: include/winuser.h
===================================================================
RCS file: /home/wine/wine/include/winuser.h,v
retrieving revision 1.181
diff -u -r1.181 winuser.h
--- include/winuser.h	3 Jun 2004 23:20:16 -0000	1.181
+++ include/winuser.h	17 Jun 2004 13:05:18 -0000
@@ -2065,7 +2065,7 @@
 #define SS_USERITEM         0x0000000AL
 #define SS_SIMPLE           0x0000000BL
 #define SS_LEFTNOWORDWRAP   0x0000000CL
-
+#if (WINVER >= 0x0400)
 #define SS_OWNERDRAW        0x0000000DL
 #define SS_BITMAP           0x0000000EL
 #define SS_ENHMETAFILE      0x0000000FL
@@ -2074,14 +2074,20 @@
 #define SS_ETCHEDVERT       0x00000011L
 #define SS_ETCHEDFRAME      0x00000012L
 #define SS_TYPEMASK         0x0000001FL
-
+#endif /* WINVER */
 #define SS_NOPREFIX         0x00000080L
+#if (WINVER >= 0x0400)
 #define SS_NOTIFY           0x00000100L
 #define SS_CENTERIMAGE      0x00000200L
 #define SS_RIGHTJUST        0x00000400L
 #define SS_REALSIZEIMAGE    0x00000800L
 #define SS_SUNKEN           0x00001000L
+#define SS_EDITCONTROL      0x00002000L
 #define SS_ENDELLIPSIS      0x00004000L
+#define SS_PATHELLIPSIS     0x00008000L
+#define SS_WORDELLIPSIS     0x0000C000L
+#define SS_ELLIPSISMASK     0x0000C000L
+#endif /* WINVER */
 
 /* Static Control Messages */
 #define STM_SETICON       0x0170


More information about the wine-patches mailing list