How can I display diferent tooltips for same button? e.g in an SDI app with two views I want to display separate tooltip for same buuton in each view.
Printable View
How can I display diferent tooltips for same button? e.g in an SDI app with two views I want to display separate tooltip for same buuton in each view.
I have not worked much with tooltips, but i think by associationg your tooltip with a string resource and handling its OnUpdate command handler (just as in case of a statusbar pane string resource) you can use it.
CToolTipCtrl also has a 'UpdateToolInfo' method you can use that.
Amit
Are u talkiing about the tooltip for a toolbar button ?
Handle TTN_NEEDTEXTx messages in a views.
Probably changing tooltip will also require overriding status bar message string.