<?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 : Setting Subject font properties</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Setting Subject font properties]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 10:37:34 +0000</pubDate>
  <lastBuildDate>Thu, 12 Mar 2009 09:59:50 +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=13652</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[Setting Subject font properties : I&amp;#039;m sure you can I just have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13652&amp;PID=46579&amp;title=setting-subject-font-properties#46579</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3351">wakerunner</a><br /><strong>Subject:</strong> 13652<br /><strong>Posted:</strong> 12 March 2009 at 9:59am<br /><br />I'm sure you can I just have not been able to figure out how to do it or how to translate your C code to VB.]]>
   </description>
   <pubDate>Thu, 12 Mar 2009 09:59:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13652&amp;PID=46579&amp;title=setting-subject-font-properties#46579</guid>
  </item> 
  <item>
   <title><![CDATA[Setting Subject font properties : you can cast lParam as Event in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13652&amp;PID=46578&amp;title=setting-subject-font-properties#46578</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13652<br /><strong>Posted:</strong> 12 March 2009 at 9:44am<br /><br /><P>you can cast lParam as Event in VB - similar to C++. Now you have access to Event info</P>]]>
   </description>
   <pubDate>Thu, 12 Mar 2009 09:44:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13652&amp;PID=46578&amp;title=setting-subject-font-properties#46578</guid>
  </item> 
  <item>
   <title><![CDATA[Setting Subject font properties : I appreciate the help. The first...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13652&amp;PID=46576&amp;title=setting-subject-font-properties#46576</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3351">wakerunner</a><br /><strong>Subject:</strong> 13652<br /><strong>Posted:</strong> 12 March 2009 at 9:38am<br /><br />I appreciate the help. The first post I was able to convert to VB the 2nd I'm lost on. <DIV>&nbsp;</DIV><DIV>Maybe somebody that programs in VB can help.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 12 Mar 2009 09:38:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13652&amp;PID=46576&amp;title=setting-subject-font-properties#46576</guid>
  </item> 
  <item>
   <title><![CDATA[Setting Subject font properties : You have enough information control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13652&amp;PID=46572&amp;title=setting-subject-font-properties#46572</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13652<br /><strong>Posted:</strong> 12 March 2009 at 8:57am<br /><br />You have enough information control passed as BeforeDrawThemeObject params. e.g,<DIV><DIV>................................</DIV><FONT size=2></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (wParam == xtpCalendarBeforeDraw_DayViewEvent){</DIV><P>CXTPCalendarDayViewEvent* pViewEvent = (CXTPCalendarDayViewEvent*)lParam;</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (pViewEvent &amp;&amp; pViewEvent-&gt;GetEvent()-&gt;GetSubject().Left(1) == _T(</FONT><FONT color=#a31515 size=2>"*"</FONT><FONT size=2>)){.....}</P><DIV>else <FONT color=#0000ff size=2>if</FONT><FONT size=2> (wParam == xtpCalendarBeforeDraw_MonthViewDay){<P>CXTPCalendarMonthViewDay* pDay = (CXTPCalendarMonthViewDay*)lParam;</P><P></P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (pDay-&gt;GetDayDate().GetDayOfWeek() == 3){....}</P></FONT></DIV><DIV>................................</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 12 Mar 2009 08:57:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13652&amp;PID=46572&amp;title=setting-subject-font-properties#46572</guid>
  </item> 
  <item>
   <title><![CDATA[Setting Subject font properties : Thanks for the reply, I see how...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13652&amp;PID=46542&amp;title=setting-subject-font-properties#46542</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3351">wakerunner</a><br /><strong>Subject:</strong> 13652<br /><strong>Posted:</strong> 12 March 2009 at 2:05am<br /><br />Thanks for the reply, I see how to set font underline in the "beforedrawthemeobject" event, however I have not been able to figure out how to get the event information in that procedure. I only want to use the strikethrough when a custom propery = a value.<DIV>&nbsp;</DIV><DIV>How can you determine what event is being drawn in that procedure?</DIV>]]>
   </description>
   <pubDate>Thu, 12 Mar 2009 02:05:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13652&amp;PID=46542&amp;title=setting-subject-font-properties#46542</guid>
  </item> 
  <item>
   <title><![CDATA[Setting Subject font properties : use BeforeDrawThemeObject  e.g....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13652&amp;PID=46534&amp;title=setting-subject-font-properties#46534</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13652<br /><strong>Posted:</strong> 11 March 2009 at 9:22pm<br /><br />use <FONT size=2>BeforeDrawThemeObject <DIV></DIV>e.g. <DIV><FONT color=#0000ff size=2><P>void</FONT><FONT size=2> CCalendarDemoView::OnBeforeDrawThemeObject(XTP_NOTIFY_CODE Event, WPARAM wParam , LPARAM lParam){</P><DIV>............................................</DIV><DIV></FONT><DIV></DIV><DIV></DIV><DIV></DIV><FONT size=2><FONT color=#0000ff size=2>if</FONT><FONT size=2> (wParam == xtpCalendarBeforeDraw_DayViewEvent){</DIV></DIV></FONT><DIV>...........................................</DIV><DIV>pTheme2007-&gt;GetDayViewPartX()-&gt;GetDayPartX()-&gt;GetGroupPartX()-&gt;GetSingleDayEventPartX()-&gt;m_fcsetNormal.fcsetSubject.fntFont.SetCustomValue(&amp;s_fntStriked);</DIV><DIV>............................................</DIV><DIV>&nbsp;</DIV><DIV>You can find in VB similar things</DIV></FONT></FONT>]]>
   </description>
   <pubDate>Wed, 11 Mar 2009 21:22:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13652&amp;PID=46534&amp;title=setting-subject-font-properties#46534</guid>
  </item> 
  <item>
   <title><![CDATA[Setting Subject font properties : Is it possible to set a calendar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13652&amp;PID=46529&amp;title=setting-subject-font-properties#46529</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3351">wakerunner</a><br /><strong>Subject:</strong> 13652<br /><strong>Posted:</strong> 11 March 2009 at 1:34pm<br /><br />Is it possible to set a calendar event <SPAN =highlight>subject</SPAN>'s <SPAN =highlight>font</SPAN> to strikethrough when it is displayed in the calendar? <DIV>&nbsp;</DIV><DIV>I wanted to use a custom property of "Status" to be able to mark an event done and want to be able to easily tell events that are done by having their <STRIKE><SPAN =highlight>subject</SPAN> displayed in strikethrough <SPAN =highlight>font</SPAN>.</STRIKE></DIV><DIV><STRIKE></STRIKE>&nbsp;</DIV><DIV>Any help with code sample would be appreciated</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 11 Mar 2009 13:34:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13652&amp;PID=46529&amp;title=setting-subject-font-properties#46529</guid>
  </item> 
 </channel>
</rss>