<?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 : Questions on using the calendar control</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Questions on using the calendar control]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 02:54:01 +0000</pubDate>
  <lastBuildDate>Tue, 13 Mar 2007 15:55:08 +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=6565</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[Questions on using the calendar control : Hi Serge;  I posted to fast!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6565&amp;PID=21135&amp;title=questions-on-using-the-calendar-control#21135</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 6565<br /><strong>Posted:</strong> 13 March 2007 at 3:55pm<br /><br />Hi Serge;<DIV>&nbsp;</DIV><DIV>I posted to fast! After checking the XTP_NC_CALENDAR_GETITEMTEXT event and solving a few problems on how to enable the event when using Office 2007 theme and accessing the curent date informations within the event handler, I got it to work.</DIV><DIV>Once again thanks for your hints!</DIV>]]>
   </description>
   <pubDate>Tue, 13 Mar 2007 15:55:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6565&amp;PID=21135&amp;title=questions-on-using-the-calendar-control#21135</guid>
  </item> 
  <item>
   <title><![CDATA[Questions on using the calendar control : Hi Serge;   Thanks for your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6565&amp;PID=21131&amp;title=questions-on-using-the-calendar-control#21131</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 6565<br /><strong>Posted:</strong> 13 March 2007 at 3:01pm<br /><br />Hi Serge; <DIV>&nbsp;</DIV><DIV>Thanks for your help! My first question is completely answered, but the other two are still pending.</DIV><DIV>I'm able to use a trick to not display the current date indicator - just select&nbsp;a week prior to the&nbsp;one containing the current date.<BR>But the third question can't be solved. </DIV><DIV>All I want to achieve is, that the caption of the work week view only contains the names of the individual days, no other information - especially no precise date:</DIV><DIV>&nbsp;</DIV><DIV>I tried this part of code:</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>GetCalendarCtrl().SetWorkWeekMask(xtpCalendarDayAllWeek);</DIV><DIV><DIV>GetCalendarCtrl().GetActiveView()-&gt;EnableHScroll(FALSE);<BR>CXTPCalendarThemeOffice2007* pTheme = </FONT><FONT color=#0000ff size=2>new </FONT><FONT size=2>CXTPCalendarThemeOffice2007();</FONT></DIV><DIV><FONT size=2>GetCalendarCtrl().SetTheme(pTheme);</FONT></DIV><DIV><FONT size=2>GetCalendarCtrl().SwitchActiveView(xtpCalendarWorkWeekView);</FONT></DIV><DIV><FONT size=2>GetCalendarCtrl().GetActiveView()-&gt;SetDayHeaderFormatLong(_T("dddd"));</FONT></DIV><DIV><FONT size=2>GetCalendarCtrl().GetActiveView()-&gt;SetDayHeaderFormatMiddle(_T("dddd"));</FONT></DIV><DIV><FONT size=2>GetCalendarCtrl().GetActiveView()-&gt;SetDayHeaderFormatShort(_T("dddd"));</DIV><DIV>GetCalendarCtrl().GetActiveView()-&gt;SetDayHeaderFormatShortest(_T("dddd"));</DIV><DIV>&nbsp;</DIV><DIV>But the result is always the same:</DIV><DIV>On&nbsp;the left side I see the precise date, in the middle the two chars day name and the right side is blank (see screenshot).</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20070313_145949_Calendar_1.bmp" border="0"></DIV></FONT></DIV>]]>
   </description>
   <pubDate>Tue, 13 Mar 2007 15:01:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6565&amp;PID=21131&amp;title=questions-on-using-the-calendar-control#21131</guid>
  </item> 
  <item>
   <title><![CDATA[Questions on using the calendar control : Hi Martin,1) See details for C...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6565&amp;PID=21031&amp;title=questions-on-using-the-calendar-control#21031</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6565<br /><strong>Posted:</strong> 08 March 2007 at 3:18pm<br /><br />Hi Martin,<br><br>1) See details for CXTPCalendarView::EnableHScroll() method:<br><table width="99%"><tr><td><pre class="BBcode"><br>pDayView-&gt;EnableHScroll(FALSE);<br></pre></td></tr></table><br><br>2)&nbsp; As I understand you mean Office 2007 theme. For the next version of the Toolkit a header background customization will be enhanced (changed) and this will be easy to do. For the current version this is nearly not possible.<br><br>3) Use CXTPCalendarView methods:<br><table width="99%"><tr><td><pre class="BBcode"><br>SetDayHeaderFormatLong<br>SetDayHeaderFormatMiddle<br>SetDayHeaderFormatShort <br>SetDayHeaderFormatShortest<br></pre></td></tr></table><br>Or if you want some other text (not a date part) use XTP_NC_CALENDAR_GETITEMTEXT notification. See our sample how to catch XTP_NC_CALENDAR_xxx notifications.<br>&nbsp;<br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Thu, 08 Mar 2007 15:18:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6565&amp;PID=21031&amp;title=questions-on-using-the-calendar-control#21031</guid>
  </item> 
  <item>
   <title><![CDATA[Questions on using the calendar control : Hi;  I&amp;#039;m completely new...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6565&amp;PID=20918&amp;title=questions-on-using-the-calendar-control#20918</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 6565<br /><strong>Posted:</strong> 05 March 2007 at 6:54pm<br /><br /><FONT face="Arial, Helvetica, sans-serif">Hi; </FONT><DIV><FONT face="Arial, Helvetica, sans-serif">I'm completely new to the calendar control, so I have a lot of questions about the control and its usage:</FONT></DIV><DIV><FONT face="Arial, Helvetica, sans-serif">&nbsp;</FONT></DIV><DIV><FONT face="Arial, Helvetica, sans-serif">I want to use the calendar control to create an interface for shift definition manipulation in a MES application. So I want to create a work week calendar view to input all the shifts available within a work week. This leads to following problems when starting with the general calendar control:</FONT></DIV><DIV><FONT face="Arial, Helvetica, sans-serif">&nbsp;</FONT></DIV><DIV><FONT face="Arial, Helvetica, sans-serif">1. How could I prevent scrolling the general work week view to other dates then the general dates visible at startup?</FONT></DIV><DIV><FONT face="Arial, Helvetica, sans-serif">2. How can I disable the 'current date' indicator (not to mix with 'current time of day')? </FONT></DIV><DIV><FONT face="Arial, Helvetica, sans-serif">3. How to adapt the header description when using the Office 2007 theme to display only weekday names without any precise date?</FONT></DIV><DIV><FONT face="Arial, Helvetica, sans-serif">&nbsp;</FONT></DIV><DIV><FONT face="Arial, Helvetica, sans-serif">Thanks in advance</FONT></DIV>]]>
   </description>
   <pubDate>Mon, 05 Mar 2007 18:54:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6565&amp;PID=20918&amp;title=questions-on-using-the-calendar-control#20918</guid>
  </item> 
 </channel>
</rss>