Treeview Patch
"Martin Fuchs" <[email protected]> Fri, 15 Aug 2003 16:55:03 +0100
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <[email protected]> |
* include/commctrl.h define Treeview macros TreeView_GetScrollTime(), TreeView_SetScrollTime and the acompaning message constants
The documentation for the macros can be found here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/treeview/macros/treeview_setscrolltime.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/treeview/macros/treeview_getscrolltime.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/treeview/messages/tvm_setscrolltime.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/treeview/messages/tvm_getscrolltime.asp
Index: w32api/include/commctrl.h
===================================================================
RCS file: /cvs/src/src/winsup/w32api/include/commctrl.h,v
retrieving revision 1.36
diff -u -p -d -r1.36 commctrl.h
--- w32api/include/commctrl.h 10 Aug 2003 00:40:01 -0000 1.36
+++ w32api/include/commctrl.h 15 Aug 2003 15:48:12 -0000
@@ -1030,6 +1030,8 @@ extern "C" {
#define TVM_SETITEMHEIGHT (TV_FIRST+27)
#define TVM_SETSCROLLTIME (TV_FIRST+33)
#define TVM_SETTEXTCOLOR (TV_FIRST+30)
+#define TVM_SETSCROLLTIME (TV_FIRST+33)
+#define TVM_GETSCROLLTIME (TV_FIRST+34)
#endif
#define TVE_COLLAPSE 1
#define TVE_EXPAND 2
@@ -2587,6 +2589,8 @@ WINBOOL WINAPI ImageList_DrawIndirect(IM
#define TreeView_SetInsertMarkColor(w,c) (COLORREF)SNDMSG((w),TVM_SETINSERTMARKCOLOR,0,(LPARAM)(c))
#define TreeView_SetItemHeight(w,h) (int)SNDMSG((w),TVM_SETITEMHEIGHT,(WPARAM)(h),0)
#define TreeView_SetTextColor(w,c) (COLORREF)SNDMSG((w),TVM_SETTEXTCOLOR,0,(LPARAM)(c))
+#define TreeView_GetScrollTime(w,t) (UINT)SNDMSG((w),TVM_GETSCROLLTIME,0,0)
+#define TreeView_SetScrollTime(w,t) (UINT)SNDMSG((w),TVM_SETSCROLLTIME,(WPARAM)(UINT)(t),0)
#endif
#ifdef UNICODE
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01