Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPReportRecordItemPreview Font Change
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPReportRecordItemPreview Font Change

 Post Reply Post Reply
Author
Message
iftekhar View Drop Down
Groupie
Groupie


Joined: 25 June 2007
Location: United Kingdom
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote iftekhar Quote  Post ReplyReply Direct Link To This Post Topic: CXTPReportRecordItemPreview Font Change
    Posted: 25 June 2007 at 7:54am
I am trying to change the font of CXTPReportRecordItemPreview item.
 
I have overridden the OnDraw class and changed the font successfully fo CXTPReportRecordItemText successfully. But this does not seem to work for CXTPReportRecordItemPreview.
 
Does anyone know a solution to this problem?
IAT
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 06 July 2007 at 3:41pm
Hi,

Simply try to change a font of wndReport.GetPaintManager()->m_fontPreview

--
WBR,
Serge
Back to Top
iftekhar View Drop Down
Groupie
Groupie


Joined: 25 June 2007
Location: United Kingdom
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote iftekhar Quote  Post ReplyReply Direct Link To This Post Posted: 11 July 2007 at 8:59am
I did change the m_fontPreview and it worked.
Thanks sserge.
 
 
IAT
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.031 seconds.