<?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 : How To Set Calendar Control Font?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : How To Set Calendar Control Font?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 13:58:36 +0000</pubDate>
  <lastBuildDate>Thu, 26 Feb 2009 04:16:38 +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=11448</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[How To Set Calendar Control Font? : Got it, thanks :)CFont pFont;pFont.CreatePointFont(120,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=45908&amp;title=how-to-set-calendar-control-font#45908</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 11448<br /><strong>Posted:</strong> 26 February 2009 at 4:16am<br /><br />Got it, thanks :)<br><br>CFont pFont;<br>pFont.CreatePointFont(120, "Comic Sans MS");<br>pFont.CreateFontIndirect(lFont);<br>LOGFONT lf;<br>pFont.GetLogFont(&amp;lf);<br><br><br>&nbsp;&nbsp; pTheme2007-&gt;GetDayViewPartX()-&gt;GetDayPartX()-&gt;GetGroupPartX()-&gt;GetSingleDayEventPartX()-&gt;m_fcsetNormal.fcsetSubject.fntFont.SetCustomValue(&amp;pFont);<br>pTheme2007-&gt;GetWeekViewPartX()-&gt;GetDayPartX()-&gt;GetSingleDayEventPartX()-&gt;m_fcsetNormal.fcsetSubject.fntFont.SetCustomValue(&amp;pFont);<br>pTheme2007-&gt;GetMonthViewPartX()-&gt;GetDayPartX()-&gt;GetSingleDayEventPartX()-&gt;m_fcsetNormal.fcsetSubject.fntFont.SetCustomValue(&amp;pFont);<br><br>&nbsp;&nbsp; pTheme2007-&gt;GetDayViewPartX()-&gt;GetDayPartX()-&gt;GetGroupPartX()-&gt;GetMultiDayEventPartX()-&gt;m_fcsetNormal.fcsetSubject.fntFont.SetCustomValue(&amp;pFont);<br>pTheme2007-&gt;GetWeekViewPartX()-&gt;GetDayPartX()-&gt;GetMultiDayEventPartX()-&gt;m_fcsetNormal.fcsetSubject.fntFont.SetCustomValue(&amp;pFont);<br>pTheme2007-&gt;GetMonthViewPartX()-&gt;GetDayPartX()-&gt;GetMultiDayEventPartX()-&gt;m_fcsetNormal.fcsetSubject.fntFont.SetCustomValue(&amp;pFont);<br><br>&nbsp;///!&lt;Code for Non Office 2007 Theme&gt;<br>&nbsp;/*<br>GetCalendarCtrl().GetPaintManager()-&gt;GetDayViewEventPart()-&gt;SetTextFont(&amp;lf);<br>&nbsp;GetCalendarCtrl().GetPaintManager()-&gt;GetWeekViewEventPart()-&gt;SetTextFont(&amp;lf);<br>&nbsp;GetCalendarCtrl().GetPaintManager()-&gt;GetMonthViewEventPart()-&gt;SetTextFont(&amp;lf);<br>*/]]>
   </description>
   <pubDate>Thu, 26 Feb 2009 04:16:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=45908&amp;title=how-to-set-calendar-control-font#45908</guid>
  </item> 
  <item>
   <title><![CDATA[How To Set Calendar Control Font? : check void CCalendarDemoView::...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=45829&amp;title=how-to-set-calendar-control-font#45829</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 11448<br /><strong>Posted:</strong> 24 February 2009 at 8:02pm<br /><br />check <FONT color=#0000ff size=2>void</FONT><FONT size=2> CCalendarDemoView::OnBeforeDrawThemeObject(XTP_NOTIFY_CODE Event, WPARAM wParam , LPARAM lParam) function</FONT>]]>
   </description>
   <pubDate>Tue, 24 Feb 2009 20:02:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=45829&amp;title=how-to-set-calendar-control-font#45829</guid>
  </item> 
  <item>
   <title><![CDATA[How To Set Calendar Control Font? : Hi Mark,Is there any solution...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=45804&amp;title=how-to-set-calendar-control-font#45804</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 11448<br /><strong>Posted:</strong> 24 February 2009 at 3:56am<br /><br />Hi Mark,<br><br>Is there any solution for this if wanted to use Office 2007 theme?<br>]]>
   </description>
   <pubDate>Tue, 24 Feb 2009 03:56:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=45804&amp;title=how-to-set-calendar-control-font#45804</guid>
  </item> 
  <item>
   <title><![CDATA[How To Set Calendar Control Font? :   This is that I found for MonthView...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=45017&amp;title=how-to-set-calendar-control-font#45017</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 11448<br /><strong>Posted:</strong> 29 January 2009 at 11:40pm<br /><br /><FONT size=2><P><img src="https://forum.codejock.com/uploads/20090129_234054_ScreenShot1.jpg" border="0"></P><DIV>This is that I found for MonthView - NON Office2007 Theme!</DIV><DIV>COLORREF clrTxt = RGB(255,0,0);</DIV><P>COLORREF clrBg = RGB(224,224,224);</P><P>CFont* pFont = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CFont;</P><P>pFont-&gt;CreatePointFont(120, </FONT><FONT color=#a31515 size=2>"Comic Sans MS"</FONT><FONT size=2>);</P><P>LOGFONT lf;</P><P>pFont-&gt;GetLogFont(&amp;lf);</P></FONT><FONT size=2><P>GetCalendarCtrl().GetPaintManager()-&gt;GetMonthViewEventPart()-&gt;m_clrTextHighLightColor = clrTxt;</P><P>GetCalendarCtrl().GetPaintManager()-&gt;GetMonthViewEventPart()-&gt;m_clrMultiDayEventFrameColor = clrTxt;</P><P>GetCalendarCtrl().GetPaintManager()-&gt;GetMonthViewEventPart()-&gt;m_clrClassicUnderline = clrTxt;</P><P>GetCalendarCtrl().GetPaintManager()-&gt;GetMonthViewEventPart()-&gt;SetTextFont(&amp;lf);</P><DIV></DIV><DIV></DIV></FONT>]]>
   </description>
   <pubDate>Thu, 29 Jan 2009 23:40:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=45017&amp;title=how-to-set-calendar-control-font#45017</guid>
  </item> 
  <item>
   <title><![CDATA[How To Set Calendar Control Font? : Hi Mark,Work around for Week mode...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=44997&amp;title=how-to-set-calendar-control-font#44997</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 11448<br /><strong>Posted:</strong> 29 January 2009 at 5:10am<br /><br />Hi Mark,<br><br>Work around for Week mode is as follows:<br><br>GetCalendarCtrl().GetPaintManager()-&gt;GetWeekViewEventPart()-&gt;m_clrTextNormalColor = clrTxt;<br><br><b>But still wondering, How to set for Month mode?</b><br>]]>
   </description>
   <pubDate>Thu, 29 Jan 2009 05:10:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=44997&amp;title=how-to-set-calendar-control-font#44997</guid>
  </item> 
  <item>
   <title><![CDATA[How To Set Calendar Control Font? : Hi Mark,Worked fine for Day mode,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=44996&amp;title=how-to-set-calendar-control-font#44996</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 11448<br /><strong>Posted:</strong> 29 January 2009 at 4:03am<br /><br />Hi Mark,<br><br>Worked fine for Day mode, but I guess for Week and&nbsp; Month&nbsp; mode&nbsp; SetTextColor function&nbsp; is not available. Is it so?<br>]]>
   </description>
   <pubDate>Thu, 29 Jan 2009 04:03:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=44996&amp;title=how-to-set-calendar-control-font#44996</guid>
  </item> 
  <item>
   <title><![CDATA[How To Set Calendar Control Font? : Hi,  Idid some research and can...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=44986&amp;title=how-to-set-calendar-control-font#44986</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 11448<br /><strong>Posted:</strong> 28 January 2009 at 11:09am<br /><br /><img src="https://forum.codejock.com/uploads/20090128_111004_ScreenShot1.jpg" border="0">Hi, <DIV>I&nbsp;did some research and can give you sample for DayView in non-Office2007 Theme: </DIV><DIV>&nbsp;</DIV><DIV><FONT size=2>COLORREF clrTxt = RGB(255,0,0);</DIV><P>COLORREF clrBg = RGB(224,224,224);</P><P>CFont* pFont = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CFont;</P><P>pFont-&gt;CreatePointFont(120, </FONT><FONT color=#a31515 size=2>"Comic Sans MS"</FONT><FONT size=2>);</P><P>LOGFONT lf;</P><P>pFont-&gt;GetLogFont(&amp;lf);</P><P>GetCalendarCtrl().GetPaintManager()-&gt;GetDayViewEventPart()-&gt;SetTextColor(clrTxt);</P><P>GetCalendarCtrl().GetPaintManager()-&gt;GetDayViewEventPart()-&gt;SetBackgroundColor(clrBg);</P><P>GetCalendarCtrl().GetPaintManager()-&gt;GetDayViewEventPart()-&gt;SetTextFont(&amp;lf);</P><DIV></DIV><P>btw - GetMonthViewEventPart() give exception!</P><P></FONT>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 28 Jan 2009 11:09:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=44986&amp;title=how-to-set-calendar-control-font#44986</guid>
  </item> 
  <item>
   <title><![CDATA[How To Set Calendar Control Font? : Hi Mark,Can you please guide me...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=44969&amp;title=how-to-set-calendar-control-font#44969</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 11448<br /><strong>Posted:</strong> 28 January 2009 at 2:23am<br /><br />Hi Mark,<br><br>Can you please guide me on the same? <br><br><b>Is it possible to set Event text font to "Verdana" size 12 and Color "Red"</b><br><br>How to do that? Thanks in advance.<br>]]>
   </description>
   <pubDate>Wed, 28 Jan 2009 02:23:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=44969&amp;title=how-to-set-calendar-control-font#44969</guid>
  </item> 
  <item>
   <title><![CDATA[How To Set Calendar Control Font? : You can do this using properties...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=39928&amp;title=how-to-set-calendar-control-font#39928</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3233">AndreiM</a><br /><strong>Subject:</strong> 11448<br /><strong>Posted:</strong> 16 August 2008 at 4:23am<br /><br />You can do this using properties of CXTPCalendarPaintManager (for Office 2003 theme) or CXTPCalendarThemeOffice2007 objects.<DIV>&nbsp;</DIV><DIV>CXTPCalendarThemeOffice2007 class has many properties for customization (look at classes headers and try to find yourself:).</DIV><DIV>&nbsp;</DIV><DIV>CXTPCalendarPaintManager allow you to change the fonts, but as I know no all parts&nbsp;may be drawn as expected if you set font size 12, but you can try.</DIV>]]>
   </description>
   <pubDate>Sat, 16 Aug 2008 04:23:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=39928&amp;title=how-to-set-calendar-control-font#39928</guid>
  </item> 
  <item>
   <title><![CDATA[How To Set Calendar Control Font? : I want to set &amp;#034;Verdana&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=38531&amp;title=how-to-set-calendar-control-font#38531</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 11448<br /><strong>Posted:</strong> 18 July 2008 at 12:03am<br /><br />I want to set "Verdana" font to the calendar control event, also I want font size 12. How to do that?<br>]]>
   </description>
   <pubDate>Fri, 18 Jul 2008 00:03:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11448&amp;PID=38531&amp;title=how-to-set-calendar-control-font#38531</guid>
  </item> 
 </channel>
</rss>