From f3cd07f033527e700349aafbb7f7c1f9c0a39b5a Mon Sep 17 00:00:00 2001 From: "Dimitrie O. Paun" Date: Tue, 11 Feb 2003 22:15:22 +0000 Subject: [PATCH] Add missing ListView_SetItemCount declaration. --- include/commctrl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/commctrl.h b/include/commctrl.h index b4fc82bd049..e5353e39986 100644 --- a/include/commctrl.h +++ b/include/commctrl.h @@ -3334,6 +3334,8 @@ typedef struct NMLVSCROLL int dy; } NMLVSCROLL, *LPNMLVSCROLL; +#define ListView_SetItemCount(hwnd,count) \ + (BOOL)SNDMSGA((hwnd),LVM_SETITEMCOUNT,(WPARAM)(INT)(count),0) #define ListView_SetTextBkColor(hwnd,clrBk) \ (BOOL)SNDMSGA((hwnd),LVM_SETTEXTBKCOLOR,0,(LPARAM)(COLORREF)(clrBk)) #define ListView_SetTextColor(hwnd,clrBk) \