Print Page | Close Window

How to set Font to entire Column?

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=18251
Printed Date: 29 September 2024 at 3:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to set Font to entire Column?
Posted By: Makarand
Subject: How to set Font to entire Column?
Date Posted: 20 April 2011 at 6:53am
Hello CJ Team,

I want to set the Different font to the entire column (please see attached sample screen shot). I am using GetItemMetrics(..) to set the font in the sample you are using static CFont variable to set the font to the entire row but in my case I wanted to set the font column-wise. How can I set the font because when I use normal object of CFont it wont be set the font to the particular cell.

If you want to confirm what I am saying then you just remove "static" keyword from the following line (in function CMessageRecord::GetItemMetrics(..))

        static CFont m_fontStriked;
Then run the "ReportSample" application and select "Automatic Formation Sample"

-Mak





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