<?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 using GetSelectedRows() after user keydown</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Problem using GetSelectedRows() after user keydown]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 05 Jun 2026 20:33:55 +0000</pubDate>
  <lastBuildDate>Mon, 25 Sep 2006 17:43:31 +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=5141</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 using GetSelectedRows() after user keydown : Never mind! Sorry, I found out...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5141&amp;PID=16072&amp;title=problem-using-getselectedrows-after-user-keydown#16072</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1642">nguyena1</a><br /><strong>Subject:</strong> 5141<br /><strong>Posted:</strong> 25 September 2006 at 5:43pm<br /><br />Never mind!&nbsp; Sorry, I found out that somewhere else in a timered update, the selected rows were being cleared, which is why i wasn't seeing them on key down. &nbsp;]]>
   </description>
   <pubDate>Mon, 25 Sep 2006 17:43:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5141&amp;PID=16072&amp;title=problem-using-getselectedrows-after-user-keydown#16072</guid>
  </item> 
  <item>
   <title><![CDATA[Problem using GetSelectedRows() after user keydown : FYI: I am using version 10.1 ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5141&amp;PID=16055&amp;title=problem-using-getselectedrows-after-user-keydown#16055</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1642">nguyena1</a><br /><strong>Subject:</strong> 5141<br /><strong>Posted:</strong> 25 September 2006 at 12:11pm<br /><br />FYI: I am using version 10.1]]>
   </description>
   <pubDate>Mon, 25 Sep 2006 12:11:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5141&amp;PID=16055&amp;title=problem-using-getselectedrows-after-user-keydown#16055</guid>
  </item> 
  <item>
   <title><![CDATA[Problem using GetSelectedRows() after user keydown : Hey all, has anyone had issues...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5141&amp;PID=16054&amp;title=problem-using-getselectedrows-after-user-keydown#16054</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1642">nguyena1</a><br /><strong>Subject:</strong> 5141<br /><strong>Posted:</strong> 25 September 2006 at 12:08pm<br /><br />Hey all, has anyone had issues trying this?&nbsp; <br><br>I'm trying to have the user be able to hit the delete button on a selected row and have the item go away.&nbsp; The issue I'm having is using GetSelectedRows().<br><br>I'm handling the key down using NM_KEYDOWN and XTP_NM_REPORT_PREVIEWKEYDOWN.&nbsp; After I call GetSelectedRows(), GetCount or GetFirstSelectedRowPosition, I get 0 when I DO have a item selected.<br><br>However, another case im handling is mouse clicks and selection changes using NM_CLICK and XTP_NM_REPORT_SELCHANGED.&nbsp; In the handling of message for these, GetCount or GetFirstSel... work fine. <br><br>Is this because the keystrokes messages are sent before the reportcontrol sets up its CXTPReportSelectedRows?<br>And I assume the other 2(click and selchanged) are messages sent after?<br><br>I have also tried, GetFocusedRow, but this still returns a row even if I dont have a row selected.&nbsp; <br><br>What is a solution that I can get the selected row after a user keydowns?&nbsp; Help would be much appreciated.<br><br>Tony<br>]]>
   </description>
   <pubDate>Mon, 25 Sep 2006 12:08:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5141&amp;PID=16054&amp;title=problem-using-getselectedrows-after-user-keydown#16054</guid>
  </item> 
 </channel>
</rss>