<?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 : How to properly remember calendar&#039;s state?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : How to properly remember calendar&#039;s state?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 19:07:04 +0000</pubDate>
  <lastBuildDate>Tue, 29 Sep 2009 19:19:34 +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=15259</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[How to properly remember calendar&#039;s state? : This is proper as FullWeekView...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15259&amp;PID=53532&amp;title=how-to-properly-remember-calendars-state#53532</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15259<br /><strong>Posted:</strong> 29 September 2009 at 7:19pm<br /><br />This is proper as FullWeekView IS WeekView&nbsp;and adjustments for MultiColumn mode - in next piece of same function code:<DIV><FONT size=2></FONT><FONT color=#0000ff size=2>........................</FONT></DIV><DIV><FONT color=#0000ff size=2>else</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (eViewType == xtpCalendarWeekView) {</DIV><DIV><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (m_bMultiColumnWeekMode) {.....</P></FONT></DIV>]]>
   </description>
   <pubDate>Tue, 29 Sep 2009 19:19:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15259&amp;PID=53532&amp;title=how-to-properly-remember-calendars-state#53532</guid>
  </item> 
  <item>
   <title><![CDATA[How to properly remember calendar&#039;s state? : Not quite there yet - once I started...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15259&amp;PID=53521&amp;title=how-to-properly-remember-calendars-state#53521</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 15259<br /><strong>Posted:</strong> 29 September 2009 at 9:10am<br /><br />Not quite there yet - once I started strong the MultiColumn mode, I've moved a bit forward, however, if I try to store Day or any Week that's not 5 days, it resets to a 5 day week (work week).<br><br>I'll investigate a bit more, but there're places in the code like the following that make me a bit confused:<br><br>void CXTPCalendarControl::SwitchActiveView(XTPCalendarViewType eViewType)<br>{<br>&nbsp;&nbsp;&nbsp; if (eViewType == xtpCalendarFullWeekView)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; eViewType = xtpCalendarWeekView;<br><br>&nbsp;&nbsp;&nbsp; m_eViewType = eViewType;<br>]]>
   </description>
   <pubDate>Tue, 29 Sep 2009 09:10:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15259&amp;PID=53521&amp;title=how-to-properly-remember-calendars-state#53521</guid>
  </item> 
  <item>
   <title><![CDATA[How to properly remember calendar&#039;s state? : DayView and WorkWeekViewshould...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15259&amp;PID=53509&amp;title=how-to-properly-remember-calendars-state#53509</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 15259<br /><strong>Posted:</strong> 28 September 2009 at 8:11pm<br /><br /><P>DayView and WorkWeekView&nbsp;should be similar to MonthView. For WeekView and FullWeekView you need to store and retrive flag MultiColumn mode and use it before switch.</P><DIV>To switch to desired ViewType follow <FONT color=#008000 size=2>CalendarDemoView.cpp code:</FONT></DIV><DIV><FONT size=2><P></FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> OnCalendarViewDay();</P><P></FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> OnCalendarViewWorkWeek();</P><P></FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> OnCalendarViewWeek();</P><P></FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> OnCalendarViewMonth();</P></FONT></DIV>]]>
   </description>
   <pubDate>Mon, 28 Sep 2009 20:11:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15259&amp;PID=53509&amp;title=how-to-properly-remember-calendars-state#53509</guid>
  </item> 
  <item>
   <title><![CDATA[How to properly remember calendar&#039;s state? : Hello,What is the proper way to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15259&amp;PID=53508&amp;title=how-to-properly-remember-calendars-state#53508</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 15259<br /><strong>Posted:</strong> 28 September 2009 at 6:05pm<br /><br />Hello,<br><br>What is the proper way to remember what state the control was in, so that it can be restored to the same view type when re-starting the app?<br><br>Currently, I get the view type (GetCalendarCtrl().GetActiveView()-&gt;GetViewType()) and store it in the registry and in OnInitialUpdate I get that value and change the view type, however, that only works for Month. If I had Day or Full Week selected and stored, it will reset to Week view for some reason.<br><br>Any advice appreciated...<br><br>Thanks.<br>]]>
   </description>
   <pubDate>Mon, 28 Sep 2009 18:05:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15259&amp;PID=53508&amp;title=how-to-properly-remember-calendars-state#53508</guid>
  </item> 
 </channel>
</rss>