Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - HitTest always returns no report row
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HitTest always returns no report row

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


Joined: 21 November 2005
Location: United Kingdom
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote cbamford Quote  Post ReplyReply Direct Link To This Post Topic: HitTest always returns no report row
    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.
Back to Top
cbamford View Drop Down
Newbie
Newbie


Joined: 21 November 2005
Location: United Kingdom
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote cbamford Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
cbamford View Drop Down
Newbie
Newbie


Joined: 21 November 2005
Location: United Kingdom
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote cbamford Quote  Post ReplyReply Direct Link To This Post 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.

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.203 seconds.