<?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-n-Drop between two CXTShellListCtrl&#039;s</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Drag-n-Drop between two CXTShellListCtrl&#039;s]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 12:01:57 +0000</pubDate>
  <lastBuildDate>Thu, 01 Feb 2007 12:23: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=6290</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-n-Drop between two CXTShellListCtrl&#039;s : I figured it out. The answer is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6290&amp;PID=20005&amp;title=dragndrop-between-two-cxtshelllistctrls#20005</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=945">larryp</a><br /><strong>Subject:</strong> 6290<br /><strong>Posted:</strong> 01 February 2007 at 12:23pm<br /><br /><P>I figured it out.&nbsp; The answer is to derive a class from CXTShellListCtrl and add the following code:</P><DIV>&nbsp;</DIV><DIV><FONT size=2><P>BEGIN_MESSAGE_MAP(CShellListCtrl, CXTShellListCtrl)&nbsp; </P><P>&nbsp;&nbsp;&nbsp;&nbsp; ON_WM_DROPFILES()</P><P>END_MESSAGE_MAP()</P><P>&nbsp;</P></FONT><FONT color=#0000ff size=2><P>void</FONT><FONT size=2> CShellListCtrl::OnDropFiles(HDROP hDropInfo)</P><P>{<FONT size=2>&nbsp;&nbsp;<FONT size=2></P><P>&nbsp; TCHAR strSourceFilename&#091;_MAX_PATH&#093;;</P></FONT><DIV>&nbsp;&nbsp; int nFiles = ::DragQueryFile(hDropInfo, (UINT)-</FONT><FONT color=#0000ff size=2>1</FONT><FONT size=2>, NULL, </FONT><FONT color=#0000ff size=2>0</FONT><FONT size=2> );</FONT><FONT color=#008000 size=2></DIV></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2>&nbsp;&nbsp; for</FONT><FONT size=2> ( UINT i = </FONT><FONT color=#0000ff size=2>0</FONT><FONT size=2>; i &lt; nFiles; i++ ) {</P></FONT><FONT size=2><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::DragQueryFile(hDropInfo, i, strSourceFilename, _MAX_PATH);</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;Insert copy file code here&nbsp;&nbsp; </P><DIV>&nbsp; }</DIV><FONT size=2><P>::DragFinish(hDropInfo);</P></FONT><P>}</P></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 01 Feb 2007 12:23:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6290&amp;PID=20005&amp;title=dragndrop-between-two-cxtshelllistctrls#20005</guid>
  </item> 
  <item>
   <title><![CDATA[Drag-n-Drop between two CXTShellListCtrl&#039;s : Before I go digging into it, I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6290&amp;PID=19969&amp;title=dragndrop-between-two-cxtshelllistctrls#19969</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=945">larryp</a><br /><strong>Subject:</strong> 6290<br /><strong>Posted:</strong> 31 January 2007 at 4:51pm<br /><br /><P>Before I go digging into it, I was wondering if there were any examples on dragging files between two CXTShellListCtrl objects.&nbsp; Do any exist?&nbsp; If not, then what are the steps.&nbsp; Do I have to register a drop taget, etc... ?</P><DIV>Thanks,</DIV><DIV>&nbsp;</DIV><DIV>Larry</DIV>]]>
   </description>
   <pubDate>Wed, 31 Jan 2007 16:51:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6290&amp;PID=19969&amp;title=dragndrop-between-two-cxtshelllistctrls#19969</guid>
  </item> 
 </channel>
</rss>