From d90f15d043a90a44fab5f8fc969978e268e2dbb0 Mon Sep 17 00:00:00 2001 From: Juergen Schmied Date: Mon, 7 Feb 2000 17:18:00 +0000 Subject: [PATCH] Added ListView_EditLabel macros. --- include/commctrl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/commctrl.h b/include/commctrl.h index a9b1edb398f..d35fc6cbb80 100644 --- a/include/commctrl.h +++ b/include/commctrl.h @@ -2681,7 +2681,10 @@ typedef struct tagNMLVCACHEHINT (BOOL)SendMessageA((hwndLV),LVM_SETITEMPOSITION,(WPARAM)(INT)(i),MAKELPARAM((x),(y))) #define ListView_GetSelectedCount(hwndLV) \ (UINT)SendMessageA((hwndLV),LVM_GETSELECTEDCOUNT,0,0L) - +#define ListView_EditLabelA(hwndLV, i) \ + (HWND)SendMessageA((hwndLV),LVM_EDITLABELA,(WPARAM)(int)(i), 0L) +#define ListView_EditLabelW(hwndLV, i) \ + (HWND)SendMessageW((hwndLV),LVM_EDITLABELW,(WPARAM)(int)(i), 0L) /* Tab Control */