[PATCH] include/commctrl: Add style definitions for split buttons

Gabriel Ivăncescu gabrielopcode at gmail.com
Mon Mar 25 07:20:59 CDT 2019


Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
---

Wanted to get this out of the way before the split button implementation. I
still have a few corner cases left to do and proper wine tests.

 include/commctrl.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/include/commctrl.h b/include/commctrl.h
index 9b86bdb..f1af7de 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -1096,6 +1096,15 @@ typedef struct tagNMBCHOTITEM
 #define BS_COMMANDLINK          0x0000000E
 #define BS_DEFCOMMANDLINK       0x0000000F
 
+#define BCSIF_GLYPH             0x00000001
+#define BCSIF_IMAGE             0x00000002
+#define BCSIF_STYLE             0x00000004
+#define BCSIF_SIZE              0x00000008
+#define BCSS_NOSPLIT            0x00000001
+#define BCSS_STRETCH            0x00000002
+#define BCSS_ALIGNLEFT          0x00000004
+#define BCSS_IMAGE              0x00000008
+
 /* Button macros */
 #define Button_SetNote(button, note)  \
   (BOOL)SNDMSG(button, BCM_SETNOTE, 0, (LPARAM)(note))
-- 
2.20.1




More information about the wine-devel mailing list