<?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 : Problem defining event handlers</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Problem defining event handlers]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 20 May 2026 20:07:35 +0000</pubDate>
  <lastBuildDate>Mon, 18 Jun 2007 15:49:56 +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=7364</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[Problem defining event handlers : This issue is fixed in 11.1.3. ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7364&amp;PID=23775&amp;title=problem-defining-event-handlers#23775</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3068">davidbeane</a><br /><strong>Subject:</strong> 7364<br /><strong>Posted:</strong> 18 June 2007 at 3:49pm<br /><br />This issue is fixed in 11.1.3.]]>
   </description>
   <pubDate>Mon, 18 Jun 2007 15:49:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7364&amp;PID=23775&amp;title=problem-defining-event-handlers#23775</guid>
  </item> 
  <item>
   <title><![CDATA[Problem defining event handlers : Using 10.4.2In my view header:CXTPCalendarControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7364&amp;PID=23626&amp;title=problem-defining-event-handlers#23626</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3068">davidbeane</a><br /><strong>Subject:</strong> 7364<br /><strong>Posted:</strong> 12 June 2007 at 4:56pm<br /><br />Using 10.4.2<br><br>In my view header:<br><br><font face="Courier New, Courier, mono">CXTPCalendarControl mCalendar;<br>DECLARE_XTP_SINK(CInspectorOnlyView, m_Sink);<br>void OnEvent_Calendar(XTP_NOTIFY_CODE Event, WPARAM wParam, LPARAM lParam);<br><br><font face="Arial, Helvetica, sans-serif">In my view's OnInitialUpdate():<br><br><font face="Courier New, Courier, mono">CXTPNotifyConnection* pCalendarConn = mCalendar.GetConnection();<br>if(pCalendarConn) {&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_Sink.Advise(pCalendarConn, XTP_NC_CALENDARLBUTTONDBLCLICK, &amp;CInspectorOnlyView::OnEvent_Calendar);<br>}<br><br><font face="Arial, Helvetica, sans-serif">In the code for the Advise function, in <font face="Courier New, Courier, mono">CMapNotifyCodeToHandler::SetAt()</font>, the following ASSERT fires:<br><font face="Courier New, Courier, mono">ASSERT(sizeof(T_pfHandler) == sizeof(void*));<br><br><font face="Arial, Helvetica, sans-serif">I ignore it, then when my <font face="Courier New, Courier, mono">OnEvent_Calendar()</font> function is called, all my view class members, such as <font face="Courier New, Courier, mono">mCalendar</font>, are porked.<br><br>Any ideas?<br></font></font></font></font></font></font>]]>
   </description>
   <pubDate>Tue, 12 Jun 2007 16:56:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7364&amp;PID=23626&amp;title=problem-defining-event-handlers#23626</guid>
  </item> 
 </channel>
</rss>