![]() |
hWnd of TaskPanel isn't correct |
Post Reply ![]() |
Author | |
ziracote ![]() Newbie ![]() Joined: 31 October 2006 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() Posted: 20 November 2006 at 5:27pm |
I have the TaskPanel on a form. It's hWnd property always returns a value that isn't actually the TaskPanel's window handle. I verify this by using Spy++ to get the TaskPanel's hWnd. It returns the hWnd of another control on the form. The help files say that the hWnd of the TaskPanel is: "The Handle to the object that the TaskPanel is bound to". What exactly does that mean?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
It returns hWnd of TaskPanel ActiveX control. if you need TaskPanel window - get it using GetWIndow(GW_CHILD) API method.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
ziracote ![]() Newbie ![]() Joined: 31 October 2006 Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
You are a genius! It worked. Thanks.
|
|
![]() |
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 |