<?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 Drop</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Task Panel : Drag Drop]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 06:07:35 +0000</pubDate>
  <lastBuildDate>Wed, 03 Dec 2008 17:41:35 +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=12852</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 Drop : I&amp;#039;m using the taskpanel for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12852&amp;PID=43406&amp;title=drag-drop#43406</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4779">Brian42</a><br /><strong>Subject:</strong> 12852<br /><strong>Posted:</strong> 03 December 2008 at 5:41pm<br /><br />I'm using the taskpanel for a toolbox for a designer.   Which works group dropping the selected Item on the Designer.  However, I'm trying to figure out how to implement the drag/drop within the control to allow rearranging of the toolbox items.  I am trying to get the data out of OLEDragDrop function; however I can't figure out how to get the data properly.<br /><div> </div><br /><div>Any help would be great.</div><br /><div> </div><br /><div>Thanks in advance </div><br /><div>Brian</div><br /><div><font size="2"><br /><p></font><font color=#0000ff size=2><font color=#0000ff size=2>private</font></font><font size="2"> </font><font color=#0000ff size=2><font color=#0000ff size=2>void</font></font><font size="2"> wndTaskPanel_BeginDrag(</font><font color=#0000ff size=2><font color=#0000ff size=2>object</font></font><font size="2"> sender, AxXtremeTaskPanel.</font><font color=#2b91af size=2><font color=#2b91af size=2>_DTaskPanelEvents_BeginDragEvent</font></font><font size="2"> e)</p><br /><p>{</p><br /><p></font><font color=#2b91af size=2><font color=#2b91af size=2>SelfHostToolboxItem</font></font><font size="2"> selectedItem = (</font><font color=#2b91af size=2><font color=#2b91af size=2>SelfHostToolboxItem</font></font><font size="2">)e.item.Tag;</p><br /><p></p><br /><p></font><font color=#0000ff size=2><font color=#0000ff size=2>if</font></font><font size="2"> (selectedItem == </font><font color=#0000ff size=2><font color=#0000ff size=2>null</font></font><font size="2"> || selectedItem.ComponentClass == </font><font color=#0000ff size=2><font color=#0000ff size=2>null</font></font><font size="2">)</p><br /><p></font><font color=#0000ff size=2><font color=#0000ff size=2>return</font></font><font size="2">;</p><br /><p></font><font color=#2b91af size=2><font color=#2b91af size=2>ToolboxItem</font></font><font size="2"> toolboxItem = </font><font color=#2b91af size=2><font color=#2b91af size=2>ToolboxPane</font></font><font size="2">.GetToolboxItem(selectedItem.ComponentClass);</p><br /><p></font><font color=#2b91af size=2><font color=#2b91af size=2>IDataObject</font></font><font size="2"> dataObject = </font><font color=#0000ff size=2><font color=#0000ff size=2>this</font></font><font size="2">.SerializeToolboxItem(toolboxItem) </font><font color=#0000ff size=2><font color=#0000ff size=2>as</font></font><font size="2"> </font><font color=#2b91af size=2><font color=#2b91af size=2>IDataObject</font></font><font size="2">;</p><br /><p></p><br /><p></p><br /><p></font><font color=#2b91af size=2><font color=#2b91af size=2>DragDropEffects</font></font><font size="2"> effects = DoDragDrop(dataObject, </font><font color=#2b91af size=2><font color=#2b91af size=2>DragDropEffects</font></font><font size="2">.Copy | </font><font color=#2b91af size=2><font color=#2b91af size=2>DragDropEffects</font></font><font size="2">.Move | </font><font color=#2b91af size=2><font color=#2b91af size=2>DragDropEffects</font></font><font size="2">.None);</p><br /><p>}</p></font></div>]]>
   </description>
   <pubDate>Wed, 03 Dec 2008 17:41:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12852&amp;PID=43406&amp;title=drag-drop#43406</guid>
  </item> 
 </channel>
</rss>