Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Set  a CXTPReportRecordItemPreview bold
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Set a CXTPReportRecordItemPreview bold

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

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post Topic: Set a CXTPReportRecordItemPreview bold
    Posted: 21 February 2007 at 7:10am
Hi.
 
Is it possible to set a CXTPReportRecordItemPreview bold, or any other properties for a CXTPReportRecordItemPreview?
 
I just tried it, without any success. The other Items (for example: CXTPReportRecordItemText) work.
 
Do anybody know something about this Item (CXTPReportRecordItemPreview)?
 
Regards
FSauer
 
Back to Top
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post Posted: 21 February 2007 at 8:05am
Hi.
 
I found a solution in the example Utilities\Grep\GrepView.h!
 
I have to derivate the CXTPReportRecordItemPreview Class.
And set the item bold in OnDrawCaption(...) like this:
...
  pDC->SelectObject(&XTAuxData().fontBold);
...
 
Regards
FSauer
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.141 seconds.