<?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 : How to reorder rows using drag &amp; drop</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : How to reorder rows using drag &amp; drop]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 05:39:15 +0000</pubDate>
  <lastBuildDate>Mon, 12 May 2008 10:35:05 +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=10532</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[How to reorder rows using drag &amp; drop : I resolved the problem myself.  I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10532&amp;PID=35127&amp;title=how-to-reorder-rows-using-drag-drop#35127</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1681">Tommy6502</a><br /><strong>Subject:</strong> 10532<br /><strong>Posted:</strong> 12 May 2008 at 10:35am<br /><br />I resolved the problem myself.<DIV>&nbsp;</DIV><DIV>I wasn't calling AfxOleInit() in InitInstance of the application class, this&nbsp;prevented the drag cursors to appear.&nbsp; I override the OnDrop member function of the CXTPReportControl to implement drop, since the base class doesn't support dropping when using VirtualMode.</DIV><DIV>&nbsp;</DIV><DIV>I put all my records in my own CArray and used virtual mode to display over 100,000 records!&nbsp; It takes a few seconds to load, but is real fast once it is loaded.&nbsp;&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 12 May 2008 10:35:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10532&amp;PID=35127&amp;title=how-to-reorder-rows-using-drag-drop#35127</guid>
  </item> 
  <item>
   <title><![CDATA[How to reorder rows using drag &amp; drop : I would like to be able to allow...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10532&amp;PID=34820&amp;title=how-to-reorder-rows-using-drag-drop#34820</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1681">Tommy6502</a><br /><strong>Subject:</strong> 10532<br /><strong>Posted:</strong> 06 May 2008 at 5:57pm<br /><br />I would like to be able to allow the user to change the order of the rows in a report control by using drag &amp; drop.&nbsp;&nbsp; My report control is not using a tree.&nbsp; It is just a simple list with two columns, but it does use the virtual mode.<DIV>&nbsp;</DIV><DIV>I tried using EnableDragDrop(), but this doesn't work.</DIV><DIV>&nbsp;</DIV><DIV>What do I need to do to enable drag and drop to allow someone to change the order of the rows?&nbsp; What event do I catch to know when they have dropped a row in another location?</DIV><DIV>&nbsp;</DIV><DIV>Thank you.</DIV>]]>
   </description>
   <pubDate>Tue, 06 May 2008 17:57:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10532&amp;PID=34820&amp;title=how-to-reorder-rows-using-drag-drop#34820</guid>
  </item> 
 </channel>
</rss>