Print Page | Close Window

ReportControl - no headers with CFormView

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=2913
Printed Date: 23 November 2024 at 4:14pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ReportControl - no headers with CFormView
Posted By: yaron
Subject: ReportControl - no headers with CFormView
Date Posted: 18 September 2005 at 9:06am

Hi,

I need to use XTPReportControl embeded in CFormView.

It all works great with XTPReportControl when I'm using in a simple view. Then I tried to embeded it in a CFormView. I create a dialog and added a List Control to the dialog (using the resource editor), and set the Report style. Then I added a control variable (CListCtrl). I changed in the .src and .h files of the created class the CListCtrl to XTPReportControl and created the Report.

The problem was that the headers were not displayed (when I am resizing the window the headers are flickers but immediatly disappears). The rest of the data (the contents of the column) appears as it should be.

I suspect that the problem is have something to do with the fact that the style of the control is LVS_REPORT. should it be something else ?

what am I doing wrong ?

thanks in advance.

yaron.




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