Alistair Leslie-Hughes : include: Added missing Header_* defines.
Alexandre Julliard
julliard at winehq.org
Thu Aug 1 17:16:46 CDT 2019
Module: wine
Branch: master
Commit: cd74b1e76b5f3cda8b39982ff2abfc0558ada3d4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=cd74b1e76b5f3cda8b39982ff2abfc0558ada3d4
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Thu Aug 1 03:28:57 2019 +0000
include: Added missing Header_* 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 66981a3..84bdcad 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -1002,6 +1002,14 @@ typedef struct tagNMHDFILTERBTNCLICK
(BOOL)SNDMSG((hwnd),HDM_SETUNICODEFORMAT,(WPARAM)(fUnicode),0)
#define Header_GetUnicodeFormat(hwnd) \
(BOOL)SNDMSG((hwnd),HDM_GETUNICODEFORMAT,0,0)
+#define Header_GetItemDropDownRect(hwnd,iItem,lprc) \
+ (BOOL)SNDMSG((hwnd), HDM_GETITEMDROPDOWNRECT, (WPARAM)iItem, (LPARAM)lprc)
+#define Header_GetOverflowRect(hwnd, rc) \
+ (BOOL)SNDMSG((hwnd), HDM_GETOVERFLOWRECT, 0, (LPARAM)(rc))
+#define Header_GetFocusedItem(hwnd) \
+ (INT)SNDMSG((hwnd), HDM_GETFOCUSEDITEM, (WPARAM)(0), (LPARAM)(0))
+#define Header_SetFocusedItem(hwnd, item) \
+ (BOOL)SNDMSG((hwnd), HDM_SETFOCUSEDITEM, (WPARAM)(0), (LPARAM)(item))
/* Win32 5.1 Button Theme */
#define WC_BUTTONA "Button"
More information about the wine-cvs
mailing list