Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Item parameter of BeforeDraw
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Item parameter of BeforeDraw

 Post Reply Post Reply
Author
Message
VDF1 View Drop Down
Groupie
Groupie
Avatar

Joined: 28 November 2007
Location: Netherlands
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote VDF1 Quote  Post ReplyReply Direct Link To This Post Topic: Item parameter of BeforeDraw
    Posted: 28 November 2007 at 3:37pm
When I trap the event BeforeDrawRow in a ReportControl object initiated by setting the SetCustomDraw to xtpCustomBeforeDrawRow i notice that the VT_DISPATCH value for the item parameter keeps the same for all columns in the ReportControl. This on its turn makes that Index of the ReportRecordItem keeps returning 0 (true for the first column).
 
When I try the VB#.NET sample it works fine. I am using an implementation compared to VB and I can't get the VB sample working so I wonder if there is a difference in how the ReportControl is used.
 
Kind Regards,
Vincent Oorsprong
Data Access Europe B.V.
Lansinkesweg 4
7553 AE Hengelo
Netherlands
+31-74-2555609
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.156 seconds.