![]() |
Change tooltip text before tooltip show |
Post Reply ![]() |
Author | |
jimmy ![]() Senior Member ![]() Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
![]() ![]() ![]() ![]() ![]() Posted: 12 August 2005 at 7:04am |
Hello,
How can i change tooltip text, before tooltip is show. I known with pControl->SetTooltip i can set it. But i will set it before Tooltip is show. At this position i will change it. CXTPCommandBar::OnToolHitTest(CPoint point, TOOLINFO* pTI) const But here is now way tohook into. How can i do this. Jimmy |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
so you need dynamic tooltips... for all controls or some? if only for one - override CXTPControl::GetTooltip if all - create custom Toolbar class; call pCommandBars->SetToolBarClass to use it, override OnToolHitTest. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |