<?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 : Drag &amp; Drop to CTreeCTrl</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Drag &amp; Drop to CTreeCTrl]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 04:13:03 +0000</pubDate>
  <lastBuildDate>Sat, 18 Jan 2014 15:39:00 +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=22175</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[Drag &amp; Drop to CTreeCTrl : I&amp;#039;m trying to drag records...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22175&amp;PID=72200&amp;title=drag-drop-to-ctreectrl#72200</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4145">hachem</a><br /><strong>Subject:</strong> 22175<br /><strong>Posted:</strong> 18 January 2014 at 3:39pm<br /><br />I'm trying to drag records from a CXTRPReportView (which includes a CXTPReportCtrl) to a tree dialog (CTreeCtrl).<div><br></div><div>My problem is how to process the records in the CTreeCtrl. I am using the class "CTreeDropTarget" developed by someone else, I have overridden the OnDrop() function, but I don't know how to obtain the records from the&nbsp;<span style="line-height: 1.4;">COleDataObject object.</span></div><div><span style="line-height: 1.4;"><br></span></div><div>Here is the function that I am processing:</div><div><br></div><div><div>BOOL OnDrop(CWnd* pWnd, COleDataObject* pDataObject,&nbsp;<span style="line-height: 1.4;">DROPEFFECT dropEffect, CPoint point)</span></div><div>{</div></div><div><br></div><div>}</div><div><br></div><div>How can obtain the records being dragged from pDataObject?</div>]]>
   </description>
   <pubDate>Sat, 18 Jan 2014 15:39:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22175&amp;PID=72200&amp;title=drag-drop-to-ctreectrl#72200</guid>
  </item> 
 </channel>
</rss>