![]() |
CXTPTaskDialog OnButtonClicked() |
Post Reply
|
| Author | |
terrym
Senior Member
Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPTaskDialog OnButtonClicked()Posted: 19 December 2007 at 1:27pm |
|
CXTPTaskDialog OnButtonClicked(), does not seem to be called :( very strange any ideas.
As I need to wait for a thread to finish before our dialog closes, as this seems best place to wait until thread has completed.
Thanks
Terry
|
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
![]() |
|
terrym
Senior Member
Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 December 2007 at 1:28pm |
|
I added the button using AddButton function, just incase this was needed to be known.
Cheers
Terry
|
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 December 2007 at 2:39pm |
|
Hi,
Show some code.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
terrym
Senior Member
Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 December 2007 at 7:05pm |
|
uploads/20071219_190432_CDownloadFormat.rar
Please see this file as it contains the code, cant see what is wrong with it
Cheers
Terry
|
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 December 2007 at 1:23am |
|
Hi,
Think its because you use ID_CANCEL. Try some id = 100
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
terrym
Senior Member
Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 December 2007 at 4:45am |
|
We have tried 100 and even standard buttons, this function never gets called, even from the sample app for the sendfeedbackdlg when testing vista task dialogs
|
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 December 2007 at 12:27pm |
|
Does it mean that if you run our sample, press "Send Feedback" you don't see anything? :-( |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 December 2007 at 12:28pm |
|
Just noticed you have wrong signature of this method:
void CAlgoTaskDialog::OnButtonClicked(int nButtonID, BOOL& bCloseDialog) |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
terrym
Senior Member
Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 December 2007 at 5:37pm |
|
Ah I copied this code from the samples, please check and fix samples ;)
Cheers for that, Terry
|
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
![]() |
|
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 |