CXTPTaskDialog::DoModal not virtual... |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 08 September 2008 at 10:24am |
Can you please make CXTPTaskDialog::DoModal virtual?
In my case I have written a CXTPTaskDialog-derived class in which I never want to use the COMCtl32-implementation. Hence, I want to override DoModal to enforce this behavior.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
DoModal has parameter - use or not comctrl32.
Just call it as DoModal(FALSE);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Yes, but I don't want users of CMySpecialTaskDialog to be able to call it with comctrl32=TRUE! Hence, I want to override DoModal() and make sure it is FALSE...
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
If you have special CMySpecialTaskDialog you can just add same function without virtual keyword. It will be called instead CXTPTaskDialog::DoModal.
Anyway we will change it for future version. Thanks.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |