<?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 : CalcMinEventHeight</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : CalcMinEventHeight]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 19:04:10 +0000</pubDate>
  <lastBuildDate>Mon, 02 Mar 2009 01:34:57 +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=13444</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[CalcMinEventHeight :  How can i upload picture to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13444&amp;PID=46074&amp;title=calcmineventheight#46074</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4605">zitz</a><br /><strong>Subject:</strong> 13444<br /><strong>Posted:</strong> 02 March 2009 at 1:34am<br /><br />How can i upload picture to this forum?<br><br>The icon disappears when you drag:<br><img src="http://img.pixs.ru/images/ic&#111;ngif_8826909_168983.gif" border="0"><br><br>Icon "plus" - 16x16.<br>Some times icons is not showing at all day part (unable to repeat :( )<br>]]>
   </description>
   <pubDate>Mon, 02 Mar 2009 01:34:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13444&amp;PID=46074&amp;title=calcmineventheight#46074</guid>
  </item> 
  <item>
   <title><![CDATA[CalcMinEventHeight : 1. I use my custom font for CX...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13444&amp;PID=45707&amp;title=calcmineventheight#45707</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4605">zitz</a><br /><strong>Subject:</strong> 13444<br /><strong>Posted:</strong> 21 February 2009 at 2:36am<br /><br />1. I use my custom font for CXTPCalendarThemeOffice2007::CTOEvent, my font is bigger then default (it is dynamic).<br><br><table width="99%"><tr><td><pre class="BBcode"><br>static int stCalcMinEventHeight( CXTPCalendarThemeOffice2007::CTOEvent* pEvent, CDC* pDC )<br>{<br>&nbsp;&nbsp;&nbsp; CArray&lt;CFont*, CFont*&gt; arFonts;<br><br>&nbsp;&nbsp;&nbsp; arFonts.Add( FontHelper().GetFont( TRUE, FALSE, TRUE ) );<br>&nbsp;&nbsp;&nbsp; arFonts.Add( pEvent-&gt;m_fcsetNormal.fcsetLocation.Font() );<br>&nbsp;&nbsp;&nbsp; arFonts.Add( pEvent-&gt;m_fcsetNormal.fcsetStartEnd.Font() );<br><br>&nbsp;&nbsp;&nbsp; arFonts.Add( pEvent-&gt;m_fcsetSelected.fcsetSubject.Font() );<br>&nbsp;&nbsp;&nbsp; arFonts.Add( pEvent-&gt;m_fcsetSelected.fcsetLocation.Font() );<br>&nbsp;&nbsp;&nbsp; arFonts.Add( pEvent-&gt;m_fcsetSelected.fcsetStartEnd.Font() );<br><br>&nbsp;&nbsp;&nbsp; int nFontHeightMax = 0;<br>&nbsp;&nbsp;&nbsp; CXTPCalendarUtils::GetMaxHeightFont( arFonts, pDC, &amp;nFontHeightMax );<br><br>&nbsp;&nbsp;&nbsp; ASSERT( pEvent-&gt;GetHeightFormulaPart() );<br>&nbsp;&nbsp;&nbsp; if ( !pEvent-&gt;GetHeightFormulaPart() )<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ASSERT(FALSE);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return pEvent-&gt;TBase::CalcMinEventHeight( pDC );<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; int nHeight = pEvent-&gt;GetHeightFormulaPart()-&gt;Calculate( nFontHeightMax );<br>&nbsp;&nbsp;&nbsp; return nHeight &lt; 22 ? 22 : nHeight;<br>}<br><br>int CCalendarView::CCalendarThemeOffice2007::CTOMonth_MultiDay::CalcMinEventHeight( CDC* pDC )<br>{<br>&nbsp;&nbsp;&nbsp; return stCalcMinEventHeight( this, pDC );<br>}<br><br>int CCalendarView::CCalendarThemeOffice2007::CTOMonth_SingleDay::CalcMinEventHeight( CDC* pDC )<br>{<br>&nbsp;&nbsp;&nbsp; return stCalcMinEventHeight( this, pDC );<br>}<br><br>int CCalendarView::CCalendarThemeOffice2007::CTODay_SingleDay::CalcMinEventHeight( CDC* pDC )<br>{<br>&nbsp;&nbsp;&nbsp; return stCalcMinEventHeight( this, pDC );<br>}<br><br>int CCalendarView::CCalendarThemeOffice2007::CTODay_MultiDay::CalcMinEventHeight( CDC* pDC )<br>{<br>&nbsp;&nbsp;&nbsp; return stCalcMinEventHeight( this, pDC );<br>}<br><br>int CCalendarView::CCalendarThemeOffice2007::CTOWeek_MultiDay::CalcMinEventHeight( CDC* pDC )<br>{<br>&nbsp;&nbsp;&nbsp; return stCalcMinEventHeight( this, pDC );<br>}<br><br>int CCalendarView::CCalendarThemeOffice2007::CTOWeek_SingleDay::CalcMinEventHeight( CDC* pDC )<br>{<br>&nbsp;&nbsp;&nbsp; return stCalcMinEventHeight( this, pDC );<br>}<br></pre></td></tr></table><br><br>2. I use my custom Custom Icons (icons 16x16)<br>If you add your icon 16x16 - it does not draw because event height is small - need overload and add that height is not less 22.]]>
   </description>
   <pubDate>Sat, 21 Feb 2009 02:36:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13444&amp;PID=45707&amp;title=calcmineventheight#45707</guid>
  </item> 
  <item>
   <title><![CDATA[CalcMinEventHeight : What is non-standard in your settings...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13444&amp;PID=45688&amp;title=calcmineventheight#45688</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13444<br /><strong>Posted:</strong> 20 February 2009 at 4:02pm<br /><br />What is non-standard in your settings and setup? Large font? Big Images? Give some details please]]>
   </description>
   <pubDate>Fri, 20 Feb 2009 16:02:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13444&amp;PID=45688&amp;title=calcmineventheight#45688</guid>
  </item> 
  <item>
   <title><![CDATA[CalcMinEventHeight :  Hello. I use Xtreme ToolkitPro...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13444&amp;PID=45600&amp;title=calcmineventheight#45600</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4605">zitz</a><br /><strong>Subject:</strong> 13444<br /><strong>Posted:</strong> 18 February 2009 at 1:03pm<br /><br />Hello. I use Xtreme ToolkitPro v13.0.0.<br>My minimal Event height is bigger then default (22), and when redrawing still dumped into your min height...<br>I dont understand how fix it...<br> ]]>
   </description>
   <pubDate>Wed, 18 Feb 2009 13:03:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13444&amp;PID=45600&amp;title=calcmineventheight#45600</guid>
  </item> 
 </channel>
</rss>