Print Page | Close Window

Can’t set text on status bar indicator

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1905
Printed Date: 07 November 2025 at 2:54pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Can’t set text on status bar indicator
Posted By: thodgson
Subject: Can’t set text on status bar indicator
Date Posted: 03 March 2005 at 2:27pm

This used to work in version 9.51

CXTPStatusBar m_wndStatusBar;
sTemp = "some text";
m_wndStatusBar.GetStatusBarCtrl().SetText(sTemp, SB_PANE_SELECTED, SBT_NOBORDERS);

Can't find an example of how to do this...but I hope there is one out there.




Replies:
Posted By: Oleg
Date Posted: 04 March 2005 at 12:24am
And the question is? It doesn't work with 9.60?

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


Posted By: thodgson
Date Posted: 04 March 2005 at 6:28am
Right, doesn't work on 9.60 - should have clarified.


Posted By: Oleg
Date Posted: 10 March 2005 at 10:32am

try

BOOL CStatusBar::SetPaneText(int nIndex, LPCTSTR lpszNewText, BOOL bUpdate)



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


Posted By: thodgson
Date Posted: 10 March 2005 at 11:46am
That works, thank you for your response.

-------------
Tim H( http://www.ExclamationSoft.com - http://www.ExclamationSoft.com )
Product: Xtreme Toolkit v13.1
Platform: Vista(x64)-SP1
Language: Visual C++ 6.0
Currently: Satisfied w/ Toolkit



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