<?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 : XTPDatePicker view change notify</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : XTPDatePicker view change notify]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 13:55:11 +0000</pubDate>
  <lastBuildDate>Mon, 10 Apr 2006 14:11:02 +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=3978</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[XTPDatePicker view change notify : Thanks, will consider those additions...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3978&amp;PID=12106&amp;title=xtpdatepicker-view-change-notify#12106</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3978<br /><strong>Posted:</strong> 10 April 2006 at 2:11pm<br /><br />Thanks, will consider those additions for further releases.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Mon, 10 Apr 2006 14:11:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3978&amp;PID=12106&amp;title=xtpdatepicker-view-change-notify#12106</guid>
  </item> 
  <item>
   <title><![CDATA[XTPDatePicker view change notify : Hello Codejock-team. I needed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3978&amp;PID=12094&amp;title=xtpdatepicker-view-change-notify#12094</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1680">Moritz</a><br /><strong>Subject:</strong> 3978<br /><strong>Posted:</strong> 10 April 2006 at 11:35am<br /><br /><P>Hello Codejock-team.</P><P>I needed a month-viewchange-notification of the CXTPDatePickerControl.</P><P>I added <BR><FONT size=2><BR>To "XTPDatePickerNotifications.h":</FONT><BR><FONT color=#0000ff size=2>static</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>const</FONT><FONT size=2> XTP_NOTIFY_CODE XTP_NC_DATEPICKERMONTHCHANGED = (WM_XTP_CALENDAR_BASE + 44); </FONT></P><P><FONT size=2>and&nbsp;to "XTPDatePickerControl.h" the last 2 lines:<BR><FONT color=#0000ff size=2><BR>void</FONT><FONT size=2> CXTPDatePickerControl::Populate()</P><P>{</P><P></FONT><FONT color=#008000 size=2>//CWaitCursor wc;</P></FONT><FONT size=2><P></FONT><FONT color=#008000 size=2>// cleanup old month array</P></FONT><FONT size=2><P>ClearMonths();</P><P></FONT><FONT color=#008000 size=2>// add all month items in the grid to the array</P></FONT><FONT size=2><P></FONT><FONT color=#008000 size=2>// and set first month and last month defaults</P></FONT><FONT size=2><P>CreateMonthArray();</P><P></FONT><FONT color=#008000 size=2>// INFO: Added von Moritz</P></FONT><FONT size=2><P></FONT><FONT color=#008000 size=2>// redraw control image</P></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (!m_rcControl.IsRectEmpty())</P><P>AdjustLayout(m_rcControl);</P><P>_RedrawControl(FALSE);</P><P><FONT color=#990000>SendNotification(XTP_NC_DATEPICKERMONTHCHANGED);</FONT></P><P><FONT color=#990000>SendMessageToParent(XTP_NC_DATEPICKERMONTHCHANGED);</FONT></P><P>}</P><P>now I am able to catch if the user scrolls through the DateTimePicker and I can refresh my fontmaps to show special days in special colors but not to refresh the calendar.</P><P>But now I saw that release 10.01 is out, and if I update my changes are lost, so I suggest to add this feature to the 10 release. Maybe other people might need it too. </P><P>It would also be very nice to have some improvements to the DAYMETRICS-Callback function:<BR>- set selected background and foreground colours<BR>- set selected focus rectangle pen style</P></FONT></FONT>]]>
   </description>
   <pubDate>Mon, 10 Apr 2006 11:35:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3978&amp;PID=12094&amp;title=xtpdatepicker-view-change-notify#12094</guid>
  </item> 
 </channel>
</rss>