How to close a modeless XTPTaskDialog |
Post Reply |
Author | |
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
Posted: 12 January 2010 at 6:42pm |
Hi,
I have created a modeless CXTPTaskDialog derived dialog (using dlg.Create()). I create the dialog add some texts, hides all buttons and so on.
However I cannot seem to close the dialog again correctly. I call: dlg.DestroyWindow(), but gets an error in TaskDialogCallbackProc at the point: pThis->OnDialogDestroyed(); since this seems to be NULL ?
What do I do wrong, please help?
-cpede
|
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
I'm bumping this, since I'm in a hurry (and the crash comes in the beginning of my app. )
-cpede
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
Solved!
Changing from v13.0.0 to v13.2.1 now correctly accepts DestroyWindow without exception.
-cpede
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
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 |