<?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 on</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Task Panel : Drag / Drop on]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 08:40:26 +0000</pubDate>
  <lastBuildDate>Tue, 29 Dec 2009 12:58:24 +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=15907</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 on : Anyone got anything for me on...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15907&amp;PID=55900&amp;title=drag-drop-on#55900</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5754">XiMaker</a><br /><strong>Subject:</strong> 15907<br /><strong>Posted:</strong> 29 December 2009 at 12:58pm<br /><br />Anyone got anything for me on this one?]]>
   </description>
   <pubDate>Tue, 29 Dec 2009 12:58:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15907&amp;PID=55900&amp;title=drag-drop-on#55900</guid>
  </item> 
  <item>
   <title><![CDATA[Drag / Drop on : I&amp;#039;m using the TaskPanel as...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15907&amp;PID=55795&amp;title=drag-drop-on#55795</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5754">XiMaker</a><br /><strong>Subject:</strong> 15907<br /><strong>Posted:</strong> 21 December 2009 at 6:58pm<br /><br />I'm using the TaskPanel as a navigation menu for an MDI application - I allow users to also Drag/Drop items on the task panel to launch other applications.&nbsp;&nbsp;&nbsp;I've added the code to do the drag drop and it works for external programs to be dropped into the task panel but when I try to move items already in the taskpanel menu to a new location (drag up or drag down) the items vanish.&nbsp;&nbsp;&nbsp;The problem in part is due to the GetFormat because the items dragged don't have either format but I don't know that to check on- is there a different OLEDrag setting that I need to use for this type... is there a sample for this?<br /><br />Private Sub wndToolBox_OLEDragDrop(ByVal Data As XtremeTaskPanel.DataObject, Effect As Long, ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)<br />&nbsp;&nbsp;&nbsp;Const MODULE_NAME = "wndToolBox_OLEDragDrop"<br /><br />&nbsp;&nbsp;&nbsp;Dim Text As String<br />&nbsp;&nbsp;&nbsp;Dim Index As Long<br />&nbsp;&nbsp;&nbsp;Dim Ext As String<br />&nbsp;&nbsp;&nbsp;Dim icount As Integer<br />&nbsp;&nbsp;&nbsp;Dim iIndex As Integer<br />&nbsp;&nbsp;&nbsp;Dim Group As TaskPanelGroup<br />&nbsp;&nbsp;&nbsp;Dim fullpath As String<br />&nbsp;&nbsp;&nbsp;Dim tItem As TaskPanelGroupItem<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;If (Data.GetFormat(vbCFText)) Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Effect = vbDropEffectCopy<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text = Data.GetData(vbCFText)<br />&nbsp;&nbsp;&nbsp;&nbsp;ElseIf Data.GetFormat(vbCFFiles) Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Effect = vbDropEffectCopy<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each file In Data.Files<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fullpath = file<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ext = LCase(Right(file, 3))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' Remove the extension<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Text = Left(file, Len(file) - 4)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Index = InStr(Text, "\")<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If Index &lt;= 0 Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exit Do<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End If<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Text = Right(Text, Len(Text) - Index)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loop<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set Group = frmMain.MainMenuPane.wndToolBox.FocusedItem.Group<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CreateToolboxEXEItem Group, Text, fullpath<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bSaveMenuINI = True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'Effect = vbDropEffectNone<br />&nbsp;&nbsp;&nbsp;End If<br />End Sub<br /><br />Private Sub wndToolBox_OLEDragOver(ByVal Data As XtremeTaskPanel.DataObject, Effect As Long, ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single, ByVal state As Integer)<br />&nbsp;&nbsp;&nbsp;&nbsp;If (Data.GetFormat(vbCFText)) Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Effect = vbDropEffectCopy<br />&nbsp;&nbsp;&nbsp;&nbsp;ElseIf Data.GetFormat(vbCFFiles) Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Effect = vbDropEffectCopy<br />&nbsp;&nbsp;&nbsp;&nbsp;Else<br />'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Effect = vbDropEffectNone<br />&nbsp;&nbsp;&nbsp;&nbsp;End If<br /><br />End Sub]]>
   </description>
   <pubDate>Mon, 21 Dec 2009 18:58:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15907&amp;PID=55795&amp;title=drag-drop-on#55795</guid>
  </item> 
 </channel>
</rss>