<?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 : Calendar Control Caption buttons</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Calendar Control Caption buttons]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 19:04:07 +0000</pubDate>
  <lastBuildDate>Tue, 01 Sep 2009 09:07:35 +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=15085</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[Calendar Control Caption buttons : I found out what the problem was,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15085&amp;PID=52639&amp;title=calendar-control-caption-buttons#52639</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4354">mitcheljh</a><br /><strong>Subject:</strong> 15085<br /><strong>Posted:</strong> 01 September 2009 at 9:07am<br /><br />I found out what the problem was, so I thought I'd share for anyone else who might run into the same problem.<br /><br />The calendar view is placed inside of a docking pane, and I was initializing the calendar before setting the theme of the docking pane manager.  If I wait to initialize the calendar, pPane-&gt;attach(pCalendarView) <u>after</u> the pane manager has had it's theme set, then the checkboxes/radio buttons show up fine on the calendar caption bar.<br /><br />Thanks,<br /><br />Mitch]]>
   </description>
   <pubDate>Tue, 01 Sep 2009 09:07:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15085&amp;PID=52639&amp;title=calendar-control-caption-buttons#52639</guid>
  </item> 
  <item>
   <title><![CDATA[Calendar Control Caption buttons : Hi,   I&amp;#039;m guessing this is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15085&amp;PID=52616&amp;title=calendar-control-caption-buttons#52616</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4354">mitcheljh</a><br /><strong>Subject:</strong> 15085<br /><strong>Posted:</strong> 31 August 2009 at 2:36pm<br /><br />Hi, <br /><br />I'm guessing this is a simple problem, and I'm probably not performing something in the correct order, or not calling a function that I should be.<br /><br />In my calendar control, I allow the user to set (in the options) the desired theme.  When initializing the calendar view (in OnInitialUpdate), I call the same function to set the theme.  <br /><br />The issue is, when the app is launched, the check/radio buttons for Work Week, Full Week, MultiColumn mode are all 'regular' buttons.  But, after manually changing the theme, they properly change to radio/checkbox buttons.<br /><br />I'm confused because I'm using the same code to set the theme, but for some reason, it's not working when the app starts.  The code to set the theme is below.<br /><br />void CalendarView::setTheme(XTPCalendarTheme theme)<br />{<br />  if (theme == xtpCalendarThemeOffice2003) {<br />&nbsp;&nbsp;&nbsp;&nbsp;GetCalendarCtrl().SetTheme(NULL);<br />&nbsp;&nbsp;&nbsp;&nbsp;GetCalendarCtrl().GetPaintManager()-&gt;SetPaintTheme(xtpCalendarThemeOffice2003);<br />  } else if (theme == xtpCalendarThemeOffice2007) {<br />&nbsp;&nbsp;&nbsp;&nbsp;CXTPCalendarThemeOffice2007* pTheme = new CXTPCalendarThemeOffice2007();<br />&nbsp;&nbsp;&nbsp;&nbsp;GetCalendarCtrl().SetTheme(pTheme);<br />  }<br />  GetCalendarCtrl().SetPaintTheme((XTPCalendarTheme)theme);<br />}<br /><br /><br />Thanks,<br /><br />Mitch]]>
   </description>
   <pubDate>Mon, 31 Aug 2009 14:36:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15085&amp;PID=52616&amp;title=calendar-control-caption-buttons#52616</guid>
  </item> 
 </channel>
</rss>