Print Page | Close Window

CXTPTaskDialog ProgressBar does not work.

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=7706
Printed Date: 13 November 2025 at 9:47am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPTaskDialog ProgressBar does not work.
Posted By: hipopotamo
Subject: CXTPTaskDialog ProgressBar does not work.
Date 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,



Replies:
Posted By: Oleg
Date 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


Posted By: hipopotamo
Date 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



Posted By: hipopotamo
Date 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



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