Print Page | Close Window

How to show text on progress control

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=14244
Printed Date: 06 May 2024 at 12:44pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to show text on progress control
Posted By: Pariksh*t
Subject: How to show text on progress control
Date Posted: 08 May 2009 at 2:17am
Hello,
We have one CProgressCtrl on a dialog in our application.It is MFC control. But now as we are using
 extreamToolkit library,and we have loaded skin vista.cjstyle in our application.The theme is coming on that progress
control.
we need to show some text on the progress control as well.For that we have added these two line -

CProgressCtrl pgrCntrl;

pgrCntrl.ModifyStyle(PBS_TEXTMASK, 768);//this 768 is fformat.

pgrCntrl.SetWindowText(_T("Text"));

With these lines it was showing the text on progress control when we were working on
mfc application. But as now toolkit library being used,the text is not coming on the progress control.
Can u please give explaination for this problem?
Please answer at the earliest,its very urgent....
 
Thanks And Regards,
Pariksh*t.



Replies:
Posted By: znakeeye
Date Posted: 14 May 2009 at 4:58am
I have this problem too. I want to show the percentage...

-------------
PokerMemento - http://www.pokermemento.com/



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