Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Task Panel
  New Posts New Posts RSS Feed - hWnd of TaskPanel isn't correct
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

hWnd of TaskPanel isn't correct

 Post Reply Post Reply
Author
Message
ziracote View Drop Down
Newbie
Newbie


Joined: 31 October 2006
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote ziracote Quote  Post ReplyReply Direct Link To This Post Topic: hWnd of TaskPanel isn't correct
    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?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2006 at 12:52am
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
Back to Top
ziracote View Drop Down
Newbie
Newbie


Joined: 31 October 2006
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote ziracote Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2006 at 10:47am
You are a genius!  It worked.  Thanks.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.189 seconds.