Print Page | Close Window

hWnd of TaskPanel isn't correct

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=5567
Printed Date: 12 May 2024 at 10:08am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: hWnd of TaskPanel isn't correct
Posted By: ziracote
Subject: hWnd of TaskPanel isn't correct
Date 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?



Replies:
Posted By: Oleg
Date 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


Posted By: ziracote
Date Posted: 21 November 2006 at 10:47am
You are a genius!  It worked.  Thanks.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net