CXTPTaskDialog hWnd member always NULL |
Post Reply |
Author | |
XavierDev
Newbie Joined: 04 May 2010 Location: France Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 25 November 2010 at 10:04am |
Hello,
I have a class derived from CXTPTaskDialog. When I instanciate it, its hWnd is NULL, so I can not PostMessage() to it (Vista, Win7). Do you know how I can get a valid hWnd ?? Thanks in advance |
|
VS2008 SP1
XTP 12.0.0 |
|
XavierDev
Newbie Joined: 04 May 2010 Location: France Status: Offline Points: 5 |
Post Options
Thanks(0)
|
I have found that CXTPTaskDialog provides the member m_hwndTaskDialog which is not NULL. I can PostMessage() to it under XP but it still doesn't work on Win7.
|
|
VS2008 SP1
XTP 12.0.0 |
|
Michl
Senior Member Joined: 14 September 2007 Status: Offline Points: 138 |
Post Options
Thanks(0)
|
Look at this thread. This is a similar problem. I hope it can help you.
http://forum.codejock.com/forum_posts.asp?TID=17077&title=cxtptaskdialog |
|
XavierDev
Newbie Joined: 04 May 2010 Location: France Status: Offline Points: 5 |
Post Options
Thanks(0)
|
I have just found this thread yesterday, and yes it works now perfectly.
Thank you very much for your help. |
|
VS2008 SP1
XTP 12.0.0 |
|
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 |