comctl32/edit: Add missing message macros.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2018-10-31 15:57:49 +03:00 committed by Alexandre Julliard
parent d19e34d8f0
commit aa601fdf0c
2 changed files with 7 additions and 2 deletions

View file

@ -23,9 +23,7 @@
*
* TODO:
* - EDITBALLOONTIP structure
* - EM_GETCUEBANNER/Edit_GetCueBannerText
* - EM_HIDEBALLOONTIP/Edit_HideBalloonTip
* - EM_SETCUEBANNER/Edit_SetCueBannerText
* - EM_SHOWBALLOONTIP/Edit_ShowBalloonTip
* - EM_GETIMESTATUS, EM_SETIMESTATUS
* - EN_ALIGN_LTR_EC

View file

@ -5259,6 +5259,13 @@ typedef struct _tagEDITBALLOONTIP
#define EM_NOSETFOCUS (ECM_FIRST + 7)
#define EM_TAKEFOCUS (ECM_FIRST + 8)
#define Edit_SetCueBannerText(hwnd, text) \
(BOOL)SNDMSG((hwnd), EM_SETCUEBANNER, 0, (LPARAM)(text))
#define Edit_SetCueBannerTextFocused(hwnd, text, drawfocused) \
(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))
/**************************************************************************
* Listbox control
*/