[PATCH 04/13] include: Use macro SNDMSG to send messages
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- include/commctrl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/commctrl.h b/include/commctrl.h index 745a0286b6..69a2e145ce 100644 --- a/include/commctrl.h +++ b/include/commctrl.h @@ -5166,9 +5166,9 @@ static const WCHAR WC_COMBOBOXW[] = { 'C','o','m','b','o','B','o','x',0 }; #define CB_GETCUEBANNER (CBM_FIRST + 4) #define ComboBox_GetMinVisible(hwnd) \ - ((int)SendMessage((hwnd), CB_GETMINVISIBLE, 0, 0)) + ((INT)SNDMSG((hwnd), CB_GETMINVISIBLE, 0, 0)) #define ComboBox_SetMinVisible(hwnd, count) \ - ((BOOL)SendMessage((hwnd), CB_SETMINVISIBLE, (WPARAM)(count), 0)) + ((BOOL)SNDMSG((hwnd), CB_SETMINVISIBLE, (WPARAM)(count), 0)) /************************************************************************** * Edit control -- 2.17.1
participants (1)
-
Alistair Leslie-Hughes