Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPTaskDialog ProgressBar does not work.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPTaskDialog ProgressBar does not work.

 Post Reply Post Reply
Author
Message
hipopotamo View Drop Down
Groupie
Groupie


Joined: 01 June 2006
Location: Portugal
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote hipopotamo Quote  Post ReplyReply Direct Link To This Post 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,
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
hipopotamo View Drop Down
Groupie
Groupie


Joined: 01 June 2006
Location: Portugal
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote hipopotamo Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
hipopotamo View Drop Down
Groupie
Groupie


Joined: 01 June 2006
Location: Portugal
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote hipopotamo Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.