COMCTL32: create a tooltip on demand in the Listview

Mike McCormack mike at codeweavers.com
Tue Jun 29 10:15:40 CDT 2004


ChangeLog:
* create a tooltip on demand in the Listview
-------------- next part --------------
Index: dlls/comctl32/listview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/listview.c,v
retrieving revision 1.389
diff -u -r1.389 listview.c
--- dlls/comctl32/listview.c	4 Jun 2004 17:58:29 -0000	1.389
+++ dlls/comctl32/listview.c	29 Jun 2004 16:09:44 -0000
@@ -8952,6 +8952,8 @@
   /* case LVM_GETTILEVIEWINFO: */
 
   case LVM_GETTOOLTIPS:
+    if( !infoPtr->hwndToolTip )
+        infoPtr->hwndToolTip = COMCTL32_CreateToolTip( hwnd );
     return (LRESULT)infoPtr->hwndToolTip;
 
   case LVM_GETTOPINDEX:


More information about the wine-patches mailing list