<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : [QUESTION]HeightFormula</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : [QUESTION]HeightFormula]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 28 May 2026 09:32:04 +0000</pubDate>
  <lastBuildDate>Fri, 25 Mar 2011 10:02:10 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=17970</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[[QUESTION]HeightFormula : Internally it looks for largest...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17970&amp;PID=63562&amp;title=questionheightformula#63562</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 17970<br /><strong>Posted:</strong> 25 March 2011 at 10:02am<br /><br />Internally it looks for largest font and uses it for calculation as you can see below there is 6 to look at for the decision:<br><br>	CArray&lt;CFont*, CFont*&gt; arFonts;<br><br>	arFonts.Add(m_fcsetNormal.fcsetSubject.Font());<br>	arFonts.Add(m_fcsetNormal.fcsetLocation.Font());<br>	arFonts.Add(m_fcsetNormal.fcsetStartEnd.Font());<br><br>	arFonts.Add(m_fcsetSelected.fcsetSubject.Font());<br>	arFonts.Add(m_fcsetSelected.fcsetLocation.Font());<br>	arFonts.Add(m_fcsetSelected.fcsetStartEnd.Font());<br><br>	int nFontHeightMax = 0;<br>	CXTPCalendarUtils::GetMaxHeightFont(arFonts, pDC, &amp;nFontHeightMax);]]>
   </description>
   <pubDate>Fri, 25 Mar 2011 10:02:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17970&amp;PID=63562&amp;title=questionheightformula#63562</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION]HeightFormula : Hi, It seems, that nobody at...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17970&amp;PID=63063&amp;title=questionheightformula#63063</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 17970<br /><strong>Posted:</strong> 02 March 2011 at 7:15am<br /><br /><P>Hi,</P><DIV>It seems, that nobody at CJ finds the time to answer this simple question nor do I find an answer searching the help file. Could anybody from the MFC-fraction with source be so kind to look at this</DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/smileys/smiley32.gif" border="0" title="Clap" alt="Clap" />&nbsp;Thank you so much!</DIV><DIV>&nbsp;</DIV><DIV>Fabian</DIV>]]>
   </description>
   <pubDate>Wed, 02 Mar 2011 07:15:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17970&amp;PID=63063&amp;title=questionheightformula#63063</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION]HeightFormula : Hi,   With objThemeOffice200...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17970&amp;PID=63015&amp;title=questionheightformula#63015</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 17970<br /><strong>Posted:</strong> 28 February 2011 at 9:51am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>With objThemeOffice2007.DayView.Event.HeightFormula</DIV><DIV>&nbsp; Height=FontHeight * .Multiplier / .Divisor + .Constant</DIV><DIV>End Width</DIV><DIV>&nbsp;</DIV><DIV>With this Formula one should size the height of an event. </DIV><DIV>&nbsp;</DIV><DIV>But I do not know which Font the control use to measure the FontHeight. An event can have 3 different fonts (Subject, Location, Body)?</DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot</DIV><DIV>Fabian</DIV>]]>
   </description>
   <pubDate>Mon, 28 Feb 2011 09:51:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17970&amp;PID=63015&amp;title=questionheightformula#63015</guid>
  </item> 
 </channel>
</rss>