Alistair Leslie-Hughes : include: Added missing Edit_* defines.

Alexandre Julliard julliard at winehq.org
Thu Aug 1 17:16:47 CDT 2019


Module: wine
Branch: master
Commit: b943b8c347493a6d28cec2d6aa8c65098454f332
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b943b8c347493a6d28cec2d6aa8c65098454f332

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Thu Aug  1 06:21:14 2019 +0000

include: Added missing Edit_* 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 77b22b4..0ad5614 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -5336,6 +5336,14 @@ typedef struct _tagEDITBALLOONTIP
         (BOOL)SNDMSG((hwnd), EM_SETCUEBANNER, (WPARAM)(drawfocused), (LPARAM)(text))
 #define Edit_GetCueBannerText(hwnd, buff, buff_size) \
         (BOOL)SNDMSG((hwnd), EM_GETCUEBANNER, (WPARAM)(buff), (LPARAM)(buff_size))
+#define Edit_SetHilite(hwnd, start, end) \
+        SNDMSG((hwnd), EM_SETHILITE, start, end)
+#define Edit_GetHilite(hwnd) \
+        ((DWORD)SNDMSG((hwnd), EM_GETHILITE, 0L, 0L))
+#define Edit_ShowBalloonTip(hwnd, tip) \
+        (BOOL)SNDMSG((hwnd), EM_SHOWBALLOONTIP, 0, (LPARAM)(tip))
+#define Edit_HideBalloonTip(hwnd) \
+        (BOOL)SNDMSG((hwnd), EM_HIDEBALLOONTIP, 0, 0)
 
 /**************************************************************************
  * Listbox control




More information about the wine-cvs mailing list