From 85c50f7194f1daaccfc609a9a2ef8499de4c91b7 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Date: Tue, 7 Oct 2003 05:41:46 +0000 Subject: [PATCH] * include/commctrl.h (TreeView_Select): Returns BOOL. --- winsup/w32api/ChangeLog | 4 ++++ winsup/w32api/include/commctrl.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 3e670a165..fb51f8463 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,7 @@ +2003-10-07 Manu B + + * include/commctrl.h (TreeView_Select): Returns BOOL. + 2003-10-06 Dimitri Papadopoulos * include/winbase.h (CancelDeviceWakeupRequest): Add function. diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h index 15f2d24d2..a3ea96eec 100644 --- a/winsup/w32api/include/commctrl.h +++ b/winsup/w32api/include/commctrl.h @@ -2982,7 +2982,7 @@ BOOL WINAPI _TrackMouseEvent(LPTRACKMOUSEEVENT); #define TreeView_GetSelection(w) TreeView_GetNextItem(w,NULL,TVGN_CARET) #define TreeView_GetDropHilight(w) TreeView_GetNextItem(w,NULL,TVGN_DROPHILITE) #define TreeView_GetRoot(w) TreeView_GetNextItem(w,NULL,TVGN_ROOT) -#define TreeView_Select(w,i,c) (HTREEITEM)SNDMSG((w),TVM_SELECTITEM,c,(LPARAM)(HTREEITEM)(i)) +#define TreeView_Select(w,i,c) (BOOL)SNDMSG((w),TVM_SELECTITEM,c,(LPARAM)(HTREEITEM)(i)) #define TreeView_SelectItem(w,i) TreeView_Select(w,i,TVGN_CARET) #define TreeView_SelectDropTarget(w,i) TreeView_Select(w,i,TVGN_DROPHILITE) #define TreeView_SelectSetFirstVisible(w,i) TreeView_Select(w,i,TVGN_FIRSTVISIBLE) -- 2.43.5