<?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 : CalendarTheme2007 and BeforeDrawDayViewCell</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : CalendarTheme2007 and BeforeDrawDayViewCell]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 10:11:38 +0000</pubDate>
  <lastBuildDate>Tue, 03 Oct 2006 09:22:12 +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=5170</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[CalendarTheme2007 and BeforeDrawDayViewCell : Hi,  thanks for the hint, it almost...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5170&amp;PID=16251&amp;title=calendartheme2007-and-beforedrawdayviewcell#16251</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2075">g.achrainer</a><br /><strong>Subject:</strong> 5170<br /><strong>Posted:</strong> 03 October 2006 at 9:22am<br /><br />Hi,<br /><br />thanks for the hint, it almost works now, but there is one issue left:<br />having a Variant as Parameter, which is an Interface or an object is not possible to implement in Gupta Teamdeveloper.<br />I worked around that declaring the Parameter as Interface which seems to be ok as long as I don't use "xtpCalendarBeforeDraw_DayViewTimeScale" etc.<br />Would be nice to have one parameter for the Interface, if any, and another for the numeric information.<br /><br />Anyway, for now it works, thank you once again.<br /><br />Regards,<br /><br />Gerhard]]>
   </description>
   <pubDate>Tue, 03 Oct 2006 09:22:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5170&amp;PID=16251&amp;title=calendartheme2007-and-beforedrawdayviewcell#16251</guid>
  </item> 
  <item>
   <title><![CDATA[CalendarTheme2007 and BeforeDrawDayViewCell : Hi,When customizing themes (2007...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5170&amp;PID=16232&amp;title=calendartheme2007-and-beforedrawdayviewcell#16232</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 5170<br /><strong>Posted:</strong> 02 October 2006 at 4:30pm<br /><br />Hi,<br><br>When customizing themes (2007 and others in future) you can use another notification <b>BeforeDrawThemeObject</b>. Below is the example:<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><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_DayViewDay)<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 pDay As CalendarViewDay<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If e.eObjType = CalendarBeforeDrawThemeObject.xtpCalendarBeforeDraw_DayViewDay Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pDay = e.drawParams<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If ... 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(..., ..., ...)<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></pre></td></tr></table><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Mon, 02 Oct 2006 16:30:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5170&amp;PID=16232&amp;title=calendartheme2007-and-beforedrawdayviewcell#16232</guid>
  </item> 
  <item>
   <title><![CDATA[CalendarTheme2007 and BeforeDrawDayViewCell : Hi,  seems as if &amp;#034;BeforeDrawDayViewCell&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5170&amp;PID=16176&amp;title=calendartheme2007-and-beforedrawdayviewcell#16176</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2075">g.achrainer</a><br /><strong>Subject:</strong> 5170<br /><strong>Posted:</strong> 29 September 2006 at 5:20am<br /><br />Hi,<br /><br />seems as if "BeforeDrawDayViewCell" only works when using the "old" 2003 theme, but not if I use the new 2007 theme.<br /><br />I want to display individual working time for each day as well as a planned lunch time.<br /><br />How would I do that using 10.3?<br /><br />Thanks in advance,<br /><br />Gerhard]]>
   </description>
   <pubDate>Fri, 29 Sep 2006 05:20:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5170&amp;PID=16176&amp;title=calendartheme2007-and-beforedrawdayviewcell#16176</guid>
  </item> 
 </channel>
</rss>