[PATCH 06/13] include : Added missing Button_* defines.
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Wed Jul 31 22:28:58 CDT 2019
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
include/commctrl.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/commctrl.h b/include/commctrl.h
index b2deb11f8b..399a3972d4 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -1112,6 +1112,14 @@ typedef struct tagNMBCHOTITEM
(BOOL)SNDMSG(button, BCM_SETTEXTMARGIN, 0, (LPARAM)(margin))
#define Button_GetIdealSize(button, size) \
(BOOL)SNDMSG(button, BCM_GETIDEALSIZE, 0, (LPARAM)(size))
+#define Button_SetSplitInfo(hwnd, info) \
+ (BOOL)SNDMSG((hwnd), BCM_SETSPLITINFO, 0, (LPARAM)(info))
+#define Button_GetSplitInfo(hwnd, info) \
+ (BOOL)SNDMSG((hwnd), BCM_GETSPLITINFO, 0, (LPARAM)(info))
+#define Button_SetElevationRequiredState(hwnd, required) \
+ (LRESULT)SNDMSG((hwnd), BCM_SETSHIELD, 0, (LPARAM)required)
+#define Button_SetDropDownState(hwnd, dropdown) \
+ (BOOL)SNDMSG((hwnd), BCM_SETDROPDOWNSTATE, (WPARAM)(dropdown), 0)
/* Toolbar */
--
2.17.1
More information about the wine-devel
mailing list