<?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 : Selecti&#111;n Change NOTIFY</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Selecti&#111;n Change NOTIFY]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 23:45:33 +0000</pubDate>
  <lastBuildDate>Thu, 29 Sep 2005 01:31:51 +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=2949</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[Selecti&#111;n Change NOTIFY : Yes, for the XTP_NM_REPORT_SELCHANGED...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2949&amp;PID=8835&amp;title=selection-change-notify#8835</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 2949<br /><strong>Posted:</strong> 29 September 2005 at 1:31am<br /><br />Yes, for the XTP_NM_REPORT_SELCHANGED message pNotifyStruct is NMHDR only.<br /><br />You shouldn't convert it to XTP_NM_REPORTRECORDITEM.<br />Unfortunately, there is a mistake in documentation. <br /> <br />Multiple rows can be selected/unselected at one time and <br />the message with a single row index will not be sent.<br /> <br />You have to use CXTPReportControl::GetSelectedRows() method to retrieve a new selected rows collection.<br /><br />--<br />WBR,<br />Serge]]>
   </description>
   <pubDate>Thu, 29 Sep 2005 01:31:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2949&amp;PID=8835&amp;title=selection-change-notify#8835</guid>
  </item> 
  <item>
   <title><![CDATA[Selecti&#111;n Change NOTIFY : I&amp;#039;ve got the following code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2949&amp;PID=8815&amp;title=selection-change-notify#8815</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1143">umcbrad</a><br /><strong>Subject:</strong> 2949<br /><strong>Posted:</strong> 28 September 2005 at 11:10am<br /><br /><P>I've got the following code in my program.&nbsp; OnReportItemClick works fine, and the pRow member is always the row at the index of the row clicked, but in the other handler, the pRow member is always the row from index zero, and thus,&nbsp;GetIndex() returns zero, instead of the correct index.&nbsp;</P><P>What am I doing wrong?</P><P>ON_NOTIFY(NM_CLICK, IDC_RPT, OnReportItemClick)<BR>ON_NOTIFY(XTP_NM_REPORT_SELCHANGED, IDC_RPT, OnSelectionChanged)</P><P>void CUnicorMedDlg::OnReportItemClick(NMHDR * pNotifyStruct, LRESULT * /*result*/)<BR>{<BR>&nbsp;XTP_NM_REPORTRECORDITEM* pItemNotify = (XTP_NM_REPORTRECORDITEM*) pNotifyStruct;</P><P>&nbsp;if (pItemNotify-&gt;pRow)<BR>&nbsp;&nbsp;int idx = pItemNotify-&gt;pRow-&gt;GetIndex();<BR>}</P><P>void CUnicorMedDlg::OnSelectionChanged(NMHDR * pNotifyStruct, LRESULT * /*result*/)<BR>{<BR>&nbsp;XTP_NM_REPORTRECORDITEM* pItemNotify = (XTP_NM_REPORTRECORDITEM*) pNotifyStruct;</P><P>&nbsp;if (pItemNotify-&gt;pRow)<BR>&nbsp;&nbsp;int idx = pItemNotify-&gt;pRow-&gt;GetIndex();<BR>}</P><span style="font-size:10px"><br /><br />Edited by umcbrad</span>]]>
   </description>
   <pubDate>Wed, 28 Sep 2005 11:10:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2949&amp;PID=8815&amp;title=selection-change-notify#8815</guid>
  </item> 
  <item>
   <title><![CDATA[Selecti&#111;n Change NOTIFY : Hi Brad,  There is an overridable...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2949&amp;PID=8796&amp;title=selection-change-notify#8796</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 2949<br /><strong>Posted:</strong> 28 September 2005 at 3:06am<br /><br />Hi Brad,<br /><br />There is an overridable method: virtual void CXTPReportControl::OnSelectionChanged()<br />which sends XTP_NM_REPORT_SELCHANGED notify message to an owner.<br /> <br />Also see XTPReportDefines.h for more report notifications.<br /><br />--<br />WBR,<br />Serge]]>
   </description>
   <pubDate>Wed, 28 Sep 2005 03:06:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2949&amp;PID=8796&amp;title=selection-change-notify#8796</guid>
  </item> 
  <item>
   <title><![CDATA[Selecti&#111;n Change NOTIFY : How do I pick up the action of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2949&amp;PID=8780&amp;title=selection-change-notify#8780</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1143">umcbrad</a><br /><strong>Subject:</strong> 2949<br /><strong>Posted:</strong> 27 September 2005 at 11:53am<br /><br /><P>How do I pick up the action of the highlited row changing in a &nbsp;CXTPReportControl?</P><P>Basically, the equivelant of OnSelChange() for a CListBox?</P><P>Thanks,</P><P>Brad</P>]]>
   </description>
   <pubDate>Tue, 27 Sep 2005 11:53:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2949&amp;PID=8780&amp;title=selection-change-notify#8780</guid>
  </item> 
 </channel>
</rss>