Alistair Leslie-Hughes : include: Added missing Button_* defines.
Alexandre Julliard
julliard at winehq.org
Thu Aug 1 17:16:46 CDT 2019
Module: wine
Branch: master
Commit: cd337b099ac6dcbf9efc33830b459bffaa8ff8b5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=cd337b099ac6dcbf9efc33830b459bffaa8ff8b5
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Thu Aug 1 03:28:58 2019 +0000
include: Added missing Button_* defines.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/commctrl.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/commctrl.h b/include/commctrl.h
index 84bdcad..203d3ea 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 */
More information about the wine-cvs
mailing list