How do you add tooltips for CMenu Items? I couldn't find any straightforward and helpful resource. Please help. Thanks...
+1
A:
Tooltips for Menu Item and popup menuitem - CodeProject
http://www.codeproject.com/KB/menus/menuitemtooltip.aspx
Tooltips for Menu Items and Popup Menu Items - CodeGuru
http://www.codeguru.com/cpp/controls/controls/tooltipcontrols/article.php/c5233
ratty
2010-03-08 09:06:08
I have seen these links before I posted this question. Sadly, the sample itself doesn't work... :(
Owen
2010-03-08 09:39:25
+1
A:
I can't vouch for whether this sample works, but the strategy of handling WM_MENUSELECT is sound:
Dewb
2010-03-23 05:44:33
+2
A:
The easiest way is to pass multiple strings to the Menu text separated by newline characters.
This will automagically make CMenu display the second part of the text as the menu tooltip.
e.g., If a menu item text is "Click here", change it to
"Click here\nThis is the tooltip for the menu item ..."
Of course, if you like more advanced/fancy tooltips, then try
http://www.tooltips.net/downloads.html
Its easy to implement, and the output is very cool
Samnan
2010-08-31 12:21:22