<?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 and Drop</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Drag and Drop]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 02:52:46 +0000</pubDate>
  <lastBuildDate>Wed, 06 Apr 2005 03:52:59 +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=2072</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 and Drop : Or if you need _only files_ dragging  1....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2072&amp;PID=6092&amp;title=drag-and-drop#6092</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2072<br /><strong>Posted:</strong> 06 April 2005 at 3:52am<br /><br /><P>Or if you need _only files_ dragging</P><P>&nbsp;</P><P>1. Call&nbsp; m_wndList.<FONT size=2>DragAcceptFiles(TRUE);</FONT></P><P><FONT size=2>2. Add <FONT size=2>ON_WM_DROPFILES() to message map</FONT></FONT></P><P><FONT size=2><FONT size=2>3. add member like</FONT></FONT></P><P><FONT size=2><FONT size=2></FONT></FONT>&nbsp;</P><FONT size=2><FONT size=2><FONT color=#0000ff size=2><P>void</FONT><FONT size=2> CYourListCtrl::OnDropFiles(HDROP hDropInfo)</P><P>{</P></FONT><FONT size=2><P>UINT nFiles = ::DragQueryFile(hDropInfo, (UINT)-1, NULL, 0);</P><P></FONT><FONT color=#0000ff size=2>for</FONT><FONT size=2> (UINT iFile = 0; iFile &lt; nFiles; iFile++)</P><P>{</P><P>TCHAR szFileName&#091;_MAX_PATH&#093;;</P><P>::DragQueryFile(hDropInfo, iFile, szFileName, _MAX_PATH);</P><P>Process(szFileName);</P><P>}</P><P>::DragFinish(hDropInfo);</P><P>}</P></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Wed, 06 Apr 2005 03:52:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2072&amp;PID=6092&amp;title=drag-and-drop#6092</guid>
  </item> 
  <item>
   <title><![CDATA[Drag and Drop : you can use CListView instead...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2072&amp;PID=6091&amp;title=drag-and-drop#6091</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2072<br /><strong>Posted:</strong> 06 April 2005 at 3:47am<br /><br /><P>you can use CListView instead of CListCtrl and override members of CView:</P><P>&nbsp;</P><FONT size=2><P>DROPEFFECT CView::OnDragEnter(COleDataObject* </FONT><FONT color=#008000 size=2>/*pDataObject*/</FONT><FONT size=2>,</P><P>DWORD </FONT><FONT color=#008000 size=2>/*dwKeyState*/</FONT><FONT size=2>, CPoint </FONT><FONT color=#008000 size=2>/*point*/</FONT><FONT size=2>)</P><P>{</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> 0; </FONT><FONT color=#008000 size=2>// DROPEFFECT_NONE</P></FONT><FONT size=2><P>}</P><P>DROPEFFECT CView::OnDragOver(COleDataObject* </FONT><FONT color=#008000 size=2>/*pDataObject*/</FONT><FONT size=2>,</P><P>DWORD </FONT><FONT color=#008000 size=2>/*dwKeyState*/</FONT><FONT size=2>, CPoint </FONT><FONT color=#008000 size=2>/*point*/</FONT><FONT size=2>)</P><P>{</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> 0; </FONT><FONT color=#008000 size=2>// DROPEFFECT_NONE</P></FONT><FONT size=2><P>}</P><P>BOOL CView::OnDrop(COleDataObject* </FONT><FONT color=#008000 size=2>/*pDataObject*/</FONT><FONT size=2>,</P><P>DROPEFFECT </FONT><FONT color=#008000 size=2>/*dropEffect*/</FONT><FONT size=2>, CPoint </FONT><FONT color=#008000 size=2>/*point*/</FONT><FONT size=2>)</P><P>{</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> FALSE;</P><P>}</P></FONT>]]>
   </description>
   <pubDate>Wed, 06 Apr 2005 03:47:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2072&amp;PID=6091&amp;title=drag-and-drop#6091</guid>
  </item> 
  <item>
   <title><![CDATA[Drag and Drop : Hi I am using Xtreme Toolkit...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2072&amp;PID=6087&amp;title=drag-and-drop#6087</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=792">manoj</a><br /><strong>Subject:</strong> 2072<br /><strong>Posted:</strong> 05 April 2005 at 4:57am<br /><br /><P>Hi</P><P>I am using Xtreme Toolkit Pro v9.60, I create a SDI application and create a list control in CXTPDockingPane. Now I want to drag a file and drop in that list control.<BR><FONT size=2></P></FONT><P>Please tell me how can i do this if possible then pls send me small sample code.</P><P>&nbsp;</P><P>Manoj Jangid&nbsp;&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 05 Apr 2005 04:57:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2072&amp;PID=6087&amp;title=drag-and-drop#6087</guid>
  </item> 
 </channel>
</rss>