![]() |
CXTPTaskDialog ProgressBar does not work. |
Post Reply
|
| Author | |
hipopotamo
Groupie
Joined: 01 June 2006 Location: Portugal Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPTaskDialog ProgressBar does not work.Posted: 01 August 2007 at 5:56pm |
|
Hi,
I'm trying to use a CXTPTaskDialog with the Marquee feature.
But the ProgressBar does not move automatically.
I'm using a copy of the CProgressEffectsDialog found on controls\VistaTaskDialog Samples, and I'm instanting at the InitiInstance of the Application.
InitInstance()
{
...
CProgressEffectsDialog dd;
... dd.DoModal(true);
... }
But you sample is working.
Regards,
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 August 2007 at 5:44am |
|
Hello,
Yes, you need to run it manually:
void CProgressEffectsDialog::OnDialogConstructed()
{ StartProgressBarMarquee(TRUE, 10); }
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
hipopotamo
Groupie
Joined: 01 June 2006 Location: Portugal Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 August 2007 at 7:55am |
|
Hi Oleg, Thankx for the answer. But I've already test that, I'm using the same class you've in the demo. The only thing different is that, I've changed the name of the DLL of the Toolkit, do you think is as anything to do with it ? l Regards |
|
![]() |
|
hipopotamo
Groupie
Joined: 01 June 2006 Location: Portugal Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 August 2007 at 8:11am |
|
Hi again, I found what was causing the problem.
I was not including any resource file in this project. (.rc )
But i'm not sure why this working now, I've just added a application.rc file.
Regards
|
|
![]() |
|
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 |