![]() |
Seems TTF_ALWAYSTIP does not work |
Post Reply
|
| Author | |
VitVal
Newbie
Joined: 14 March 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: Seems TTF_ALWAYSTIP does not workPosted: 14 March 2009 at 10:36am |
|
It seems the TTF_ALWAYSTIP does not work (v13.0.0).
I tried make toolbar to display tooltips always. For the reason I set:
pTI->uFlags |= TTF_ALWAYSTIP;
in the OnToolHitTest(CPoint point, TOOLINFO* pTI) of the class derived from CXTPToolBar.
The result is: a tooltip (of the toolbar belonging to inactive frame window) is shown on a short period of time and disappear.
The possible reason: CXTPToolTipContext::FilterToolTipMessageHelper have such code
if (m_pToolTip->GetSafeHwnd() && m_pToolTip->IsWindowVisible() && !bTopParentActive) { m_pToolTip->SendMessage(TTM_ACTIVATE, FALSE); return; } - probably "&& !bTopParentActive" need the addition "&& !(tiHit.uFlags & TTF_ALWAYSTIP)" |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 March 2009 at 7:29am |
|
Hi,
yes, TTF_ALWAYSTIP is not supported by CXTPToolTipContext.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
VitVal
Newbie
Joined: 14 March 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 March 2009 at 8:39am |
|
Thanks.
Does the above correction will help? Or I can face with some hidden problems?
|
|
![]() |
|
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 |