![]() |
Task dialog hangs application |
Post Reply
|
| Author | |
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Topic: Task dialog hangs applicationPosted: 18 August 2009 at 6:45am |
|
XTP 13.0, VS 2008 SP1, XP SP3 (32-bit).
Build and run attached sample. An ASSERT() will pinpoint the problem. After the call to DoModal() the application hangs!
|
|
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 August 2009 at 7:37am |
|
You set parent to hidden window. so don't do it
CXTPTaskDialog dlg(0); |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 August 2009 at 8:58am |
|
Sure, but why does this not happen for normal MessageBoxes? If I remove my DoMessageBox function, it works. |
|
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
|
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 |