<?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 : Add Holidays to Calendar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Add Holidays to Calendar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 04:41:22 +0000</pubDate>
  <lastBuildDate>Sat, 24 Dec 2005 20:43:04 +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=3434</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[Add Holidays to Calendar : Thank you sserge. I understand...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3434&amp;PID=10324&amp;title=add-holidays-to-calendar#10324</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=857">kylechen</a><br /><strong>Subject:</strong> 3434<br /><strong>Posted:</strong> 24 December 2005 at 8:43pm<br /><br /><P>Thank you sserge. I understand your explaination and workaround solution. However I actually need is a "highlight" of holidays (not only in day week view but also in month view, etc.) or lunch time. Even more some cusotmized icon could be displayed for special days like a bell for Xmas Day. I believe this has not been implemented in ActiveX version yet. Just wish it be done next release.</P><P>Thank you anyway. <IMG src="http://forum.codejock.com/smileys/smiley17.gif" border="0"></P>]]>
   </description>
   <pubDate>Sat, 24 Dec 2005 20:43:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3434&amp;PID=10324&amp;title=add-holidays-to-calendar#10324</guid>
  </item> 
  <item>
   <title><![CDATA[Add Holidays to Calendar : Hello,Currently there are only...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3434&amp;PID=10320&amp;title=add-holidays-to-calendar#10320</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3434<br /><strong>Posted:</strong> 24 December 2005 at 11:18am<br /><br />Hello,<br><br>Currently there are only 2 ways to define work time for the Calendar control: using DayStartTime / DayEndTime properties and using WorkWeekMask property. First pair allows controlling work time during the day, and the second one &#8211; for days of the week.<br><br>So, unfortunately you can not control a lunch time. We&#8217;ll consider those as a feature requests for the next version. <br><br>Currently I can propose only 1 workaround for controlling work/non work days like holidays. The idea is that if you have shown no more than 1 week in day view, you can capture days selection changed event and adjust WorkWeekMask property according to days on the current week&nbsp;<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0"> Something like the following:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub CalendarControl_SelectionChanged(ByVal SelType As&nbsp; XtremeCalendarControl.CalendarSelectionChanged)<br>&nbsp;&nbsp;&nbsp; If SelType = xtpCalendarSelectionDays Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CalendarControl.Options.WorkWeekMask = xtpCalendarDaySunday <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For i = 0 To DaysCount<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; If CalendarControl.ActiveView.Days(i).Date = CheckedDate Then<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CalendarControl.Options.WorkWeekMask = CalendarControl.Options.WorkWeekMask Or xtpCalendarDayWednesday<br>&nbsp;&nbsp; &nbsp;...<br><br></pre></td></tr></table><br><br><br>Or, if you are using C++/MFC version of the control, you can override&nbsp; IsWorkDateTime method, and that would solve both problems.<br><br>--<br>WBR,<br>Serge]]>
   </description>
   <pubDate>Sat, 24 Dec 2005 11:18:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3434&amp;PID=10320&amp;title=add-holidays-to-calendar#10320</guid>
  </item> 
  <item>
   <title><![CDATA[Add Holidays to Calendar : Same question here too. Thanks...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3434&amp;PID=10319&amp;title=add-holidays-to-calendar#10319</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=857">kylechen</a><br /><strong>Subject:</strong> 3434<br /><strong>Posted:</strong> 24 December 2005 at 12:03am<br /><br />Same question here too. Thanks <IMG src="http://forum.codejock.com/smileys/smiley17.gif" border="0">]]>
   </description>
   <pubDate>Sat, 24 Dec 2005 00:03:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3434&amp;PID=10319&amp;title=add-holidays-to-calendar#10319</guid>
  </item> 
  <item>
   <title><![CDATA[Add Holidays to Calendar : Is there a way to add holidays...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3434&amp;PID=10304&amp;title=add-holidays-to-calendar#10304</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1646">dentor</a><br /><strong>Subject:</strong> 3434<br /><strong>Posted:</strong> 22 December 2005 at 3:24am<br /><br /><DIV>Is there a way to add holidays to the Xtreme Calendar control, to display a different color for that days when displaying the day or WorkWeek, the same way as 'WorkDayStartTime' does ?</DIV><DIV>&nbsp;</DIV><DIV>Eventually, a different color to display lunch time ?</DIV><DIV>&nbsp;</DIV><DIV>Thanks for your reply.&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 22 Dec 2005 03:24:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3434&amp;PID=10304&amp;title=add-holidays-to-calendar#10304</guid>
  </item> 
 </channel>
</rss>