Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - ReportControl - no headers with CFormView
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ReportControl - no headers with CFormView

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


Joined: 18 September 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote yaron Quote  Post ReplyReply Direct Link To This Post Topic: ReportControl - no headers with CFormView
    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.

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