From: poy <po...@12...> - 2008-01-15 15:05:25
|
got it this time. :) the problem was that WM_NOTIFY messages are sent back to where they came from, so i had to check for them directly into the tooltip control. this patch also fixes a bug with ampersands that don't appear in the tab title (a simple way to see that is to open a search window and search for '&'); for that i moved WinUtil::escapeMenu into SmartUtil and that function is used to escape ampersands in tab titles. added files: smartwin/SmartUtil/StringUtils.h smartwin/SmartUtil/StringUtils.cpp poy ----- Original Message ----- From: "poy" <po...@12...> To: "Jacek Sieka" <arn...@gm...>; "Patches & development discussion" <dcp...@li...> Sent: Sunday, December 02, 2007 1:59 AM Subject: Re: [dcplusplus-devel] patch: tooltips on tabs > yes this looks like a much better way. > i've tried the attached patch (add TCS_TOOLTIPS to the tabs style and > catch > TTN_GETDISPINFO) but TTN_GETDISPINFO is never received apparently. i don't > know what's missing... > > poy > > ----- Original Message ----- > From: "Jacek Sieka" <arn...@gm...> > To: "poy" <po...@12...>; "Patches & development discussion" > <dcp...@li...> > Sent: Saturday, December 01, 2007 8:32 PM > Subject: Re: [dcplusplus-devel] patch: tooltips on tabs > > >> http://msdn2.microsoft.com/en-us/library/bb760550.aspx#tc_tooltips >> better use those >> >> poy wrote: >>> tooltips on tabs, added using the onMouseMove event as in the WTL >>> version. it was actually quite easier than i would have thought it would >>> be. :) >>> might conflict with my previous patch about tab closing on mid mouse >>> button click. >>> >>> poy >>> >> >> > -------------------------------------------------------------------------------- > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------------------------------------------------------------------------- > _______________________________________________ > dcplusplus-devel mailing list > dcp...@li... > https://lists.sourceforge.net/lists/listinfo/dcplusplus-devel > |