<?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 : ThemeOffice2007 and cell backgroundcolor</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : ThemeOffice2007 and cell backgroundcolor]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 09:00:06 +0000</pubDate>
  <lastBuildDate>Sun, 15 Oct 2006 15:34:03 +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=5212</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[ThemeOffice2007 and cell backgroundcolor : BTW, below is the example (in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5212&amp;PID=16541&amp;title=themeoffice2007-and-cell-backgroundcolor#16541</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 5212<br /><strong>Posted:</strong> 15 October 2006 at 3:34pm<br /><br />BTW, below is the example (in VB.NET):<br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AxCalendarControl1.SetTheme(New CalendarThemeOffice2007Class)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AxCalendarControl1.DayView.ShowDays(Now, Now.AddDays(2))<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not AxCalendarControl1.BeforeDrawThemeObjectFlags Is Nothing Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AxCalendarControl1.BeforeDrawThemeObjectFlags.SetFlag(CalendarBeforeDrawThemeObject.xtpCalendarBeforeDraw_DayViewCell)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AxCalendarControl1.Populate()<br>&nbsp;&nbsp;&nbsp; End Sub<br><br>&nbsp;&nbsp;&nbsp; Private Sub AxCalendarControl1_BeforeDrawThemeObject(ByVal sender As Object, ByVal e As AxXtremeCalendarControl._DCalendarControlEvents_BeforeDrawThemeObjectEvent) Handles AxCalendarControl1.BeforeDrawThemeObject<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim pTheme2007 As CalendarThemeOffice2007<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pTheme2007 = AxCalendarControl1.Theme<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim pParam As CalendarThemeDayViewCellParams<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If e.eObjType = CalendarBeforeDrawThemeObject.xtpCalendarBeforeDraw_DayViewCell Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pParam = e.drawParams<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If pParam.BeginTime &gt; Now Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pTheme2007.DayView.Day.Group.Cell.WorkCell.BackgroundColor = RGB(50, 150, 150)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pTheme2007.DayView.Day.Group.Cell.NonWorkCell.BackgroundColor = RGB(50, 150, 150)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; End Sub<br><br>&nbsp;&nbsp;&nbsp; Private Function RGB(ByVal r As Long, ByVal g As Long, ByVal b As Long) As UInt32<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RGB = Convert.ToUInt32(r + g * 256 + b * 256 * 256)<br>&nbsp;&nbsp;&nbsp; End Function<br></pre></td></tr></table><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Sun, 15 Oct 2006 15:34:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5212&amp;PID=16541&amp;title=themeoffice2007-and-cell-backgroundcolor#16541</guid>
  </item> 
  <item>
   <title><![CDATA[ThemeOffice2007 and cell backgroundcolor :   Yes, you can.   Use flag...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5212&amp;PID=16475&amp;title=themeoffice2007-and-cell-backgroundcolor#16475</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 5212<br /><strong>Posted:</strong> 12 October 2006 at 7:47am<br /><br /><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">Yes, you can.</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"><br>Use flag </span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent; font-weight: bold;">    xtpCalendarBeforeDraw_DayViewCell</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;">and set members:</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    CalendarControl.Theme.DayView.Day.Group.Cell.WorkCell.BackgroundColor</span></div><div><span style="font-family: 'Courier New'; font-size: 12px; color: rgb(0, 0, 0); : transparent;">    CalendarControl.Theme.DayView.Day.Group.Cell.NonWorkCell.BackgroundColor</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>Params member is:<br>CalendarThemeDayViewCellParams</span></div><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Thu, 12 Oct 2006 07:47:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5212&amp;PID=16475&amp;title=themeoffice2007-and-cell-backgroundcolor#16475</guid>
  </item> 
  <item>
   <title><![CDATA[ThemeOffice2007 and cell backgroundcolor : Thanks for the fast answer. I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5212&amp;PID=16306&amp;title=themeoffice2007-and-cell-backgroundcolor#16306</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2390">KlausConlé</a><br /><strong>Subject:</strong> 5212<br /><strong>Posted:</strong> 04 October 2006 at 8:59am<br /><br />Thanks for the fast answer. I can set so the background color for the cells Work/NonWork, but as I can change the color for a certain cell?&nbsp; I believe, I do not understand it correctly. ]]>
   </description>
   <pubDate>Wed, 04 Oct 2006 08:59:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5212&amp;PID=16306&amp;title=themeoffice2007-and-cell-backgroundcolor#16306</guid>
  </item> 
  <item>
   <title><![CDATA[ThemeOffice2007 and cell backgroundcolor : Hi,It access Cell parameters using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5212&amp;PID=16305&amp;title=themeoffice2007-and-cell-backgroundcolor#16305</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 5212<br /><strong>Posted:</strong> 04 October 2006 at 8:39am<br /><br />Hi,<br><br>It access Cell parameters using Theme2007 object. <br><br>There are some info on it in another topic (with the example): <a href="http://forum.codejock.com/forum_posts.asp?TID=5170" target="_blank">http://forum.codejock.com/forum_posts.asp?TID=5170</a><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Wed, 04 Oct 2006 08:39:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5212&amp;PID=16305&amp;title=themeoffice2007-and-cell-backgroundcolor#16305</guid>
  </item> 
  <item>
   <title><![CDATA[ThemeOffice2007 and cell backgroundcolor : Hello, I would like to change...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5212&amp;PID=16299&amp;title=themeoffice2007-and-cell-backgroundcolor#16299</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2390">KlausConlé</a><br /><strong>Subject:</strong> 5212<br /><strong>Posted:</strong> 04 October 2006 at 6:12am<br /><br />Hello, I would like to change the background colour of each cell individually.&nbsp;&nbsp;With the event <strong>BeforeDrawDayViewCell</strong> <!--DX end -->with the help of the class <strong>CalendarDayViewCellParams</strong> is possible.&nbsp; <DIV>Now would I like to work with ThemeOffice2007, the appropriate event is <strong>BeforeDrawThemeObject</strong>, how I come to the Claas <strong>CalendarDayViewCellParams</strong> around the background colour of the cell to change? </DIV>]]>
   </description>
   <pubDate>Wed, 04 Oct 2006 06:12:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5212&amp;PID=16299&amp;title=themeoffice2007-and-cell-backgroundcolor#16299</guid>
  </item> 
 </channel>
</rss>