Print Page | Close Window

HitTest always returns no report row

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=9155
Printed Date: 15 November 2024 at 8:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: HitTest always returns no report row
Posted By: cbamford
Subject: HitTest always returns no report row
Date Posted: 20 December 2007 at 4:57am
As the title suggests whenever I call HitTest on one of my report controls, I always get a NULL report row, even though the report control does have rows in it.

I've tried calling both ClientToScreen and ScreenToClient on the CPoint which I pass to HitTest but still no joy.

Grateful for any suggestions.

Thanks.

Chris.



Replies:
Posted By: cbamford
Date Posted: 15 April 2008 at 9:43am
Sorry to bump this, any suggestions ? I have recently revisited this area of my application it would be really nice if I could get this to work.


Posted By: cbamford
Date Posted: 15 April 2008 at 9:50am
Please disregard, I've fixed this.

When dragging/dropping for an external OLE data source to a report control there is no need to call either ScreenToClient or ClientToScreen.




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