<?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 : Non work hours color</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Non work hours color]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 10:59:16 +0000</pubDate>
  <lastBuildDate>Tue, 12 Dec 2006 14:52:09 +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=5761</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[Non work hours color :   Well, firstly some general...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5761&amp;PID=18128&amp;title=non-work-hours-color#18128</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 5761<br /><strong>Posted:</strong> 12 December 2006 at 2:52pm<br /><br /><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Well, firstly some general information.<br><br>Calendar Control has 2 main parts: </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent; font-weight: bold;">DataProvider</span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> to work with data (calendar events) and </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent; font-weight: bold;">Control</span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> to display data.</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">&nbsp;</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent; font-weight: bold;">DataProvider </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">is responsible for storing, loading, creating, changing, deleting events.</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">The folowing data providers exist for now: </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">-- Memory/File (XML or binary) </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">-- MS Access DB data provider</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">-- MAPI dada provider (works with default Outlook calendar folder)</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">-- Custom Data provider (See an article about it: </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent; text-decorati&#111;n: underline;"><a href="http://www.codejock.com/support/articles/com/calendar/cp_3.asp" target="_blank">http://www.codejock.com/support/articles/com/calendar/cp_3.asp</a></span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">) </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"><br>To create and attach a data provider use a following method:</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">  CalendarControl.</span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">SetDataProvider(ConnectionString)  </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">        </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"><br>By default it creates a memory data provider.</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Look at our examples which show in details how to work with different data providers.</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"><br></span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent; font-weight: bold;">Control </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">uses data provider to read and display calendar Events (see method RetrieveDayEvents)</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">It has folowing "View" objects structure:</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent; font-weight: bold;">-- CalendarView</span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">  (Day, WoorkWeek, Week, Month) only one of them can be active at a time</span></div><div>---&nbsp;  <span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"></span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent; font-weight: bold;">DayView</span></div><div>---- <span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"></span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent; font-weight: bold;">GroupView</span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> (used for multiple resouses/schedules)</span></div><div>----- <span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"></span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent; font-weight: bold;">EventView</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"><br>Control provides you with some notifications which allow to do some customizations.</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">&nbsp;</span></div><div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Also Calendar control supports Office 2003 theme (default) and Office 2007 theme.</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent; font-weight: bold;"><br>About your second question.</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">For </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Office 2003 theme </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">please read folowing article:</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent; font-weight: bold;">Applying Custom Colors to Individual Cells</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 255); : transparent; text-decorati&#111;n: underline;"><a href="http://www.codejock.com/support/articles/com/calendar/cp_2.asp" target="_blank">http://www.codejock.com/support/articles/com/calendar/cp_2.asp</a></span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"><br>For </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Office 200</span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">7</span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> theme </span><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">the idea the same but the implementation is a little bit different. See <b>BeforeDrawThemeObject </b>notification. It allows you to customize colors, fonts and others</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">for many calendar elements.<br><br></span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">See examples in our VB Sample project. </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> </span></div><div><br><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Also you can search our forum (or ask there) for any questions. Do not hesitate to ask again if something is not clear&nbsp;</span><img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="absmiddle"></div></div><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Tue, 12 Dec 2006 14:52:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5761&amp;PID=18128&amp;title=non-work-hours-color#18128</guid>
  </item> 
  <item>
   <title><![CDATA[Non work hours color : New to this control at this moment,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5761&amp;PID=18099&amp;title=non-work-hours-color#18099</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2579">cpss</a><br /><strong>Subject:</strong> 5761<br /><strong>Posted:</strong> 12 December 2006 at 3:05am<br /><br /><P>New to this control at this moment, but no to programming. In general I see the control developer help very concise and concrete, perhaps&nbsp;too much.</P><DIV>I miss some more detailed information about hoy to begin with this control for beginners to those controls (not programmer beginners). Perhaps a few words about how is the control organised and how the main parts of the control are working.</DIV><DIV>&nbsp;</DIV><DIV>Related to it, I can not see information on to know if it is possible to change the color of non work hours as a whole to another that differentiates more from the work hours. In some LDC screens it seems to be the same color.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 12 Dec 2006 03:05:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5761&amp;PID=18099&amp;title=non-work-hours-color#18099</guid>
  </item> 
 </channel>
</rss>