<?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 : [solved] DatePickerDemo. Notification doesn&#039;t work</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : [solved] DatePickerDemo. Notification doesn&#039;t work]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 13:55:21 +0000</pubDate>
  <lastBuildDate>Sun, 04 Sep 2016 02:13:59 +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=23115</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[[solved] DatePickerDemo. Notification doesn&#039;t work : Sorry, I forgot that you ask aboutCDatePickerCombo...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23115&amp;PID=75051&amp;title=solved-datepickerdemo-notification-doesnt-work#75051</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23115<br /><strong>Posted:</strong> 04 September 2016 at 2:13am<br /><br />Sorry, I forgot that you ask about&nbsp;<span style="line-height: 16.8px; : rgb248, 248, 252;">CDatePickerCombo class&nbsp;<img src="http://forum.codejock.com/smileys/smiley24.gif" border="0" alt="Ermm" title="Ermm" /></span>]]>
   </description>
   <pubDate>Sun, 04 Sep 2016 02:13:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23115&amp;PID=75051&amp;title=solved-datepickerdemo-notification-doesnt-work#75051</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] DatePickerDemo. Notification doesn&#039;t work : Making that modifications doesn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23115&amp;PID=75050&amp;title=solved-datepickerdemo-notification-doesnt-work#75050</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2121">jmarcosf</a><br /><strong>Subject:</strong> 23115<br /><strong>Posted:</strong> 03 September 2016 at 3:17pm<br /><br />Making that modifications doesn't really solve the problem.<br>It still continues without printing any TRACE as the blue buttons from the main DatePickerControl does.<br>Besides, IDC_DATEPICKER is the resource id of this main DatePickerControl but, on the fly generated controls when yo click popup controls do not have this ID. I think that is the real problem. According to the source, popup controls are always created with resource id 0.<br><br>By adding the next line, the messages from first popup control is showed but not the ones coming from the combo box.<br><pre ="BBcode">ON_NOTIFY(XTP_NC_DATEPICKER_BUTTON_CLICK, 0<font color="#00cc00"></font>, OnButtonPressed)</pre>]]>
   </description>
   <pubDate>Sat, 03 Sep 2016 15:17:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23115&amp;PID=75050&amp;title=solved-datepickerdemo-notification-doesnt-work#75050</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] DatePickerDemo. Notification doesn&#039;t work : Hello jmarcosf,Thank you for bringing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23115&amp;PID=75048&amp;title=solved-datepickerdemo-notification-doesnt-work#75048</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23115<br /><strong>Posted:</strong> 03 September 2016 at 10:12am<br /><br />Hello jmarcosf,<div><br></div><div>Thank you for bringing this to our attention. There is really error in file&nbsp;</div><div>Samples\Calendar\DatePickerDemo\DatePickerDemoDlg.cpp line ~196 <table width="99%"><tr><td><pre class="BBcode">&nbsp; &nbsp;ON_NOTIFY(XTP_NC_DATEPICKER_BUTTON_CLICK, <font color="#ff0000">1000</font>, OnButtonPressed)</pre></td></tr></table></div><div><br></div><div><div>File Resource.h &nbsp;has &nbsp;two the same IDs 1000 <table width="99%"><tr><td><pre class="BBcode">#define IDC_CUSTOM1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color="#ff0000">1000</font></div><div>#define IDC_DATEPICKER &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<font color="#ff0000">1000</font></pre></td></tr></table></div><div>So IDC_CUSTOM1 hides IDC_DATEPICKER &nbsp;and &nbsp;CDatePickerDemoDlg::OnButtonPressed &nbsp;doesn't get XTP_NC_DATEPICKER_BUTTON_CLICK notification.<br>Solution is removing IDC_CUSTOM1 from Resource.h and change ON_NOTIFY() declaration to</div></div><div><br></div><div><table width="99%"><tr><td><pre class="BBcode">&nbsp; &nbsp;ON_NOTIFY(XTP_NC_DATEPICKER_BUTTON_CLICK, <font color="#00cc00">IDC_DATEPICKER</font>, OnButtonPressed)</pre></td></tr></table></div><div><br></div><div>I have fixed this in sample application.</div><div><br></div><div>Regards,</div><div>&nbsp;Oleksandr Lebed</div>]]>
   </description>
   <pubDate>Sat, 03 Sep 2016 10:12:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23115&amp;PID=75048&amp;title=solved-datepickerdemo-notification-doesnt-work#75048</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] DatePickerDemo. Notification doesn&#039;t work : Why in the sample DatePickerDemo...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23115&amp;PID=75044&amp;title=solved-datepickerdemo-notification-doesnt-work#75044</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2121">jmarcosf</a><br /><strong>Subject:</strong> 23115<br /><strong>Posted:</strong> 03 September 2016 at 8:29am<br /><br />Why in the sample DatePickerDemo Dialog does not receive XTP_NC_DATEPICKER_BUTTON_CLICK messages when coming from Combo CDatePickerCombo class?<br>Is it a bug?<br><br>Thanks!<br>]]>
   </description>
   <pubDate>Sat, 03 Sep 2016 08:29:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23115&amp;PID=75044&amp;title=solved-datepickerdemo-notification-doesnt-work#75044</guid>
  </item> 
 </channel>
</rss>