<?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 : BUG: Drag&amp;Drop enabled with all rows selected</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : BUG: Drag&amp;Drop enabled with all rows selected]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 16:52:27 +0000</pubDate>
  <lastBuildDate>Wed, 05 Aug 2009 21:53:49 +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=14895</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[BUG: Drag&amp;Drop enabled with all rows selected :  &amp;gt;&amp;gt; if (m_nDropPos == -1)...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51623&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51623</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14895<br /><strong>Posted:</strong> 05 August 2009 at 9:53pm<br /><br /><FONT size=2><P><strong><FONT color=#0000ff size=2><FONT color=#0000ff size=2>&gt;&gt; if</FONT></FONT><FONT size=2> (</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>m_nDropPos</FONT></FONT></strong><FONT size=2><strong> == -1) &lt;--- disaster</strong></P><DIV></DIV><FONT color=#000000><strong><FONT color=#010001>m_nDropPos</FONT></strong> generated during <strong>OnDragOver </strong>- so it irrelevant internal or external Drag source</FONT></FONT></FONT>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 21:53:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51623&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51623</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: Drag&amp;Drop enabled with all rows selected : Right - this is why I post yesterday...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51620&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51620</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14895<br /><strong>Posted:</strong> 05 August 2009 at 7:08pm<br /><br />Right - this is why I post yesterday somewhere link to simple sample - <a href="https://forum.codejock.com/uploads/DemoVersi&#111;n/ReportPaneViewStatic.rar" target="_blank">https://forum.codejock.com/uploads/DemoVersion/ReportPaneViewStatic.rar</A> <DIV></DIV>You can run 2 instances same time and check internal and external drag and drop <DIV>&nbsp;</DIV><DIV>To use standard mode - uncheck menu - Edit - Vista DD</DIV>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 19:08:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51620&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51620</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: Drag&amp;Drop enabled with all rows selected : I think you need to improve your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51619&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51619</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14895<br /><strong>Posted:</strong> 05 August 2009 at 7:05pm<br /><br />I think you need to improve your report sample. Add another report control etc, so that these things can be tested easily.]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 19:05:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51619&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51619</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: Drag&amp;Drop enabled with all rows selected : Sigh...   //&amp;lt;&amp;lt;&amp;gt;&amp;gt; if...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51618&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51618</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14895<br /><strong>Posted:</strong> 05 August 2009 at 7:04pm<br /><br />Sigh...<DIV></DIV><DIV></DIV><FONT color=#008000 size=2><FONT color=#008000 size=2><P>//&lt;&lt;&gt;&gt;</P></FONT></FONT><FONT size=2><P></FONT><strong><FONT color=#0000ff size=2><FONT color=#0000ff size=2>if</FONT></FONT><FONT size=2> (</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>m_nDropPos</FONT></FONT></strong><FONT size=2><strong> == -1) &lt;--- disaster</strong></P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>return</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>FALSE</FONT></FONT><FONT size=2>;</P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2><DIV><FONT color=#000000>If I drag records from control A to control B, nothing happens. m_nDropPos is -1...</FONT></DIV></FONT></FONT>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 19:04:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51618&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51618</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: Drag&amp;Drop enabled with all rows selected : Fortunately, this is also not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51565&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51565</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 14895<br /><strong>Posted:</strong> 04 August 2009 at 2:32am<br /><br />Fortunately, this is also not allowed in this application <img src="http://forum.codejock.com/smileys/smiley14.gif" border="0" align="absmiddle"><br>]]>
   </description>
   <pubDate>Tue, 04 Aug 2009 02:32:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51565&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51565</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: Drag&amp;Drop enabled with all rows selected : Sure but if you select all to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51557&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51557</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14895<br /><strong>Posted:</strong> 03 August 2009 at 6:37pm<br /><br />Sure but if you select all to drop in another control? This is proper operation. ]]>
   </description>
   <pubDate>Mon, 03 Aug 2009 18:37:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51557&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51557</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: Drag&amp;Drop enabled with all rows selected : Hi;I&amp;#039;m still using v12.1.1...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51556&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51556</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 14895<br /><strong>Posted:</strong> 03 August 2009 at 5:40pm<br /><br />Hi;<br>I'm still using v12.1.1 and partly v13.0, so I will wait until 13.1.1 will be available. <br>Meanwhile I solved it in LVN_BEGINDRAG handler of my report control parent window and prevent this completely by returning *pResult=TRUE<br>]]>
   </description>
   <pubDate>Mon, 03 Aug 2009 17:40:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51556&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51556</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: Drag&amp;Drop enabled with all rows selected : You right - let&amp;#039;s change...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51553&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51553</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14895<br /><strong>Posted:</strong> 03 August 2009 at 4:21pm<br /><br />You right - let's change a few lines in function<FONT size=2><P>BOOL CXTPReportControl::OnDrop(COleDataObject* pDataObject, DROPEFFECT dropEffect, CPoint point)</P></FONT><DIV></DIV><DIV><FONT size=2></FONT><FONT color=#0000ff size=2>...........................................................................</FONT></DIV><DIV><FONT color=#0000ff size=2>if</FONT><FONT size=2> (m_bDragMode &amp;&amp; dropEffect == DROPEFFECT_MOVE)</DIV><P>{</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (nDropPos == -1)</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> FALSE;</P><P>CXTPReportRecords* pDropRecords = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportRecords(TRUE);</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (!_GetSelectedRows(pDropRecords)</P><P>|| pDropRecords-&gt;GetCount() == GetRows()-&gt;GetCount()) //EXTRA CONDITION</P><P>{</P><P>CMDTARGET_RELEASE(pDropRecords);</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> FALSE;</P><P>}</P></FONT>]]>
   </description>
   <pubDate>Mon, 03 Aug 2009 16:21:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51553&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51553</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: Drag&amp;Drop enabled with all rows selected : Hi;when all rows within a report...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51544&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51544</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 14895<br /><strong>Posted:</strong> 03 August 2009 at 11:36am<br /><br />Hi;<br><br>when all rows within a report control are selected then Drag&amp;Drop within the same control is possible, resulting in an access violation!<br>I think this should be disabled by default.<br>]]>
   </description>
   <pubDate>Mon, 03 Aug 2009 11:36:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14895&amp;PID=51544&amp;title=bug-dragdrop-enabled-with-all-rows-selected#51544</guid>
  </item> 
 </channel>
</rss>