<?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 : BUG: Drag&amp;drop from/to header rows</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : BUG: Drag&amp;drop from/to header rows]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 07:02:15 +0000</pubDate>
  <lastBuildDate>Sun, 02 Mar 2008 14:14:30 +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=9764</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[BUG: Drag&amp;drop from/to header rows : wndReport.EnableDragDrop(xtpReportAllowDrop...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9764&amp;PID=31827&amp;title=bug-dragdrop-from-to-header-rows#31827</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 9764<br /><strong>Posted:</strong> 02 March 2008 at 2:14pm<br /><br /><DIV>wndReport.EnableDragDrop(<FONT color=#040004 size=2>xtpReportAllowDrop</FONT><FONT size=2> | </FONT><FONT color=#040004 size=2>xtpReportAllowDragMove);</FONT></DIV><DIV><FONT color=#040004 size=2>GetHeaderRecords()-&gt;Add(new CMyRecord());<BR>ShowHeaderRows(TRUE);</FONT></DIV><DIV>&nbsp;</DIV><DIV>Now, if I drag items from my header to the rows below it, it looks like the drop is successful, but it is not. The problem, I think, is an old check in CXTPReportRecords::Move():</DIV><DIV>&nbsp;</DIV><DIV>void CXTPReportRecords::Move(int nIndex, CXTPReportRecords* pRecords)</DIV><DIV>{</DIV><DIV>...</DIV><DIV>if (pRecord-&gt;m_pRecords != this)<BR>&nbsp;&nbsp;&nbsp; <strong>continue;</strong></DIV><DIV>...</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>Please fix this! (In my case I want to disable dragging from and to the <U>header</U> rows.)</DIV>]]>
   </description>
   <pubDate>Sun, 02 Mar 2008 14:14:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9764&amp;PID=31827&amp;title=bug-dragdrop-from-to-header-rows#31827</guid>
  </item> 
 </channel>
</rss>