[ros-diffs] [mf] 14437: merge from trunk: enable multiline tooltips

mf at svn.reactos.com mf at svn.reactos.com
Sat Apr 2 13:09:41 CEST 2005


merge from trunk: enable multiline tooltips
Modified:
branches/lean-explorer/reactos/subsys/system/explorer/taskbar/quicklaunc
h.cpp
  _____  

Modified:
branches/lean-explorer/reactos/subsys/system/explorer/taskbar/quicklaunc
h.cpp
---
branches/lean-explorer/reactos/subsys/system/explorer/taskbar/quicklaunc
h.cpp	2005-04-02 11:00:58 UTC (rev 14436)
+++
branches/lean-explorer/reactos/subsys/system/explorer/taskbar/quicklaunc
h.cpp	2005-04-02 11:09:39 UTC (rev 14437)
@@ -263,6 +263,10 @@

 #ifdef TTF_DI_SETITEM
 		ttdi->uFlags |= TTF_DI_SETITEM;
 #endif
+
+		 // enable multiline tooltips (break at CR/LF and for
very long one-line strings)
+		SendMessage(pnmh->hwndFrom, TTM_SETMAXTIPWIDTH, 0, 400);
+
 		break;}
 
 		return super::Notify(id, pnmh);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050402/e0b4f2c8/attachment.html


More information about the Ros-diffs mailing list