a problem about showing tooltips of the toolbar
-
Hi: I overload the CToolBar class , and process the default TBN_GETINFOTIP event to dynamicly changge the tips. ( ON_NOTIFY_REFLECT( TBN_GETINFOTIP, OnGetInfoTip) the way works well. Then I create a toolbar in the statusbar in one of my project, but this way doesn't work at all. I couldn't get the OnGetInfoTip event form the toolbar created in the statusbar now. Why? how could I do? Thanks Benben
-
Hi: I overload the CToolBar class , and process the default TBN_GETINFOTIP event to dynamicly changge the tips. ( ON_NOTIFY_REFLECT( TBN_GETINFOTIP, OnGetInfoTip) the way works well. Then I create a toolbar in the statusbar in one of my project, but this way doesn't work at all. I couldn't get the OnGetInfoTip event form the toolbar created in the statusbar now. Why? how could I do? Thanks Benben
-
Get the tooltip control associated to your toolbar (MFC : GetToolTips()) and call the RelayEvent() function once after the init of the toolbar. ~RaGE();