Print Page | Close Window

ToolTips in the StatusBar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=10609
Printed Date: 18 May 2024 at 6:14pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ToolTips in the StatusBar
Posted By: miatu
Subject: ToolTips in the StatusBar
Date Posted: 13 May 2008 at 4:24am
Hi, a have a problem with adding tooltips to the CXTPStatusBar control.

CXTPToolTipContext* pToolTipContext;
pToolTipContext = m_Status_Bar.GetToolTipContext();
pToolTipContext.SetStyle(xtpToolTipOffice2007);
pToolTipContext.ShowTitleAndDescription();
pToolTipContext.ShowImage(TRUE, 0);
pToolTipContext.SetMargin(CRect(2, 2, 2, 2));
pToolTipContext.SetMaxTipWidth(180);
pToolTipContext.SetDelayTime(TTDT_INITIAL, 900);

It doesn't work. Help me, please.



Replies:
Posted By: Oleg
Date Posted: 13 May 2008 at 8:26am
Hi,
How do you set tooltips for panes ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: miatu
Date Posted: 13 May 2008 at 11:37am
thank you. i have just solved my problem :)


Posted By: miatu
Date Posted: 14 May 2008 at 9:42am
Hi, i have new problem with statusbar tooltips. when i add buttons to statusbar, tooltips work well, but there are no images in tooltips, only text. help me, please, solve this problem.


Posted By: Oleg
Date Posted: 15 May 2008 at 1:37am
Hi,
 
What code you have to show images?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: miatu
Date Posted: 15 May 2008 at 3:56am
CXTPImageManager* icon_manager = pStatusBar->GetImageManager();
     
icon_manager->SetIcon(ID_STATUSBAR_NAVIGATION_PREV, ID_STATUSBAR_NAVIGATION_PREV);


Posted By: Oleg
Date Posted: 15 May 2008 at 4:14am
Hi,
right, sorry, StatusBar doesn't support Tooltip with images.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: miatu
Date Posted: 15 May 2008 at 6:18am
thank you



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net