<?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 foreign windows</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 foreign windows]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 18:49:17 +0000</pubDate>
  <lastBuildDate>Mon, 10 Aug 2009 17:51:44 +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=14632</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 foreign windows : if you use unique Clipboard format...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14632&amp;PID=51835&amp;title=dragdrop-to-foreign-windows#51835</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14632<br /><strong>Posted:</strong> 10 August 2009 at 5:51pm<br /><br />if you use unique Clipboard format name FIXED for your app - you can only drag and drop between same app (but in different instances)<DIV>if you use run-time random name - only drag and drop in same running instance</DIV>]]>
   </description>
   <pubDate>Mon, 10 Aug 2009 17:51:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14632&amp;PID=51835&amp;title=dragdrop-to-foreign-windows#51835</guid>
  </item> 
  <item>
   <title><![CDATA[Drag&amp;Drop to foreign windows : Even with user-defined&amp;#034;My_Own_Records&amp;#034;?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14632&amp;PID=51833&amp;title=dragdrop-to-foreign-windows#51833</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14632<br /><strong>Posted:</strong> 10 August 2009 at 5:48pm<br /><br />Even with user-defined&nbsp;"My_Own_Records"?]]>
   </description>
   <pubDate>Mon, 10 Aug 2009 17:48:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14632&amp;PID=51833&amp;title=dragdrop-to-foreign-windows#51833</guid>
  </item> 
  <item>
   <title><![CDATA[Drag&amp;Drop to foreign windows :  This flag (xtpReportAllowDragCopy)...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14632&amp;PID=51740&amp;title=dragdrop-to-foreign-windows#51740</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14632<br /><strong>Posted:</strong> 07 August 2009 at 5:54pm<br /><br /><FONT size=2><P>This flag (xtpReportAllowDragCopy) essentially make OPPOSITE effect - it ALLOW to drop to foreign window - I succeded to drop selected range from modified (with this code) Pane app to static non-modified one (which use standard <FONT color=#008000 size=2>xtpReportAllowDrag | xtpReportAllowDrop</P></FONT></FONT>]]>
   </description>
   <pubDate>Fri, 07 Aug 2009 17:54:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14632&amp;PID=51740&amp;title=dragdrop-to-foreign-windows#51740</guid>
  </item> 
  <item>
   <title><![CDATA[Drag&amp;Drop to foreign windows : I suppose you can do this too:...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14632&amp;PID=51736&amp;title=dragdrop-to-foreign-windows#51736</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14632<br /><strong>Posted:</strong> 07 August 2009 at 5:25pm<br /><br />I suppose you can do this too:<DIV>&nbsp;</DIV><DIV>m_wndReport.EnableDragDrop(_T("My_Own_Records"), xtpReportAllowDragCopy);</DIV><DIV>&nbsp;</DIV><DIV>Works for me!</DIV>]]>
   </description>
   <pubDate>Fri, 07 Aug 2009 17:25:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14632&amp;PID=51736&amp;title=dragdrop-to-foreign-windows#51736</guid>
  </item> 
  <item>
   <title><![CDATA[Drag&amp;Drop to foreign windows : You need to overwirte function...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14632&amp;PID=51676&amp;title=dragdrop-to-foreign-windows#51676</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14632<br /><strong>Posted:</strong> 06 August 2009 at 7:41pm<br /><br />You need to overwirte function <FONT color=#0000ff size=2>virtual</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> OnDragLeave(CWnd* pWnd)</FONT> <DIV>Now there is not restriction here - you can add in (e.g. in your derived class):</DIV><DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>class</FONT><FONT size=2><FONT color=#000000> CXTPReportControl::CReportDropTarget -</FONT></P><P></FONT>virtual</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> OnDragLeave(CWnd* pWnd) {</P><P>CXTPReportControl* pReport = DYNAMIC_DOWNCAST(CXTPReportControl, pWnd);</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (pReport) pReport-&gt;OnDragOver(NULL, 0, CPoint(-1, -1), 1);</P><P>}</P><P></P></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 06 Aug 2009 19:41:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14632&amp;PID=51676&amp;title=dragdrop-to-foreign-windows#51676</guid>
  </item> 
  <item>
   <title><![CDATA[Drag&amp;Drop to foreign windows : Hi,I enabled Drag&amp;amp;Drop in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14632&amp;PID=50363&amp;title=dragdrop-to-foreign-windows#50363</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5327">XAMLFreak</a><br /><strong>Subject:</strong> 14632<br /><strong>Posted:</strong> 26 June 2009 at 2:05pm<br /><br />Hi,<br><br>I enabled Drag&amp;Drop in my CXTPReportControl derived class with the following command:<br><br>EnableDragDrop(_T("MyDragFromatName"), xtpReportAllowDrag | xtpReportAllowDrop);<br><br>...and I have some text and markup coloumns in this control.<br><br>Now when I drag a row outside my window and place it in a e.g Visual Studio text file, the text of the row including the markup is moved to this text file.<br>These rows are completly removed from my Report Control - but drop cursor still says "Drop not allowecd".<br><br>How can I prevent moving this rows to outside my control?<br><br>Thanks!<br><br><br><br><br>]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 14:05:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14632&amp;PID=50363&amp;title=dragdrop-to-foreign-windows#50363</guid>
  </item> 
 </channel>
</rss>