<?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 : FlatEdit OLE drag-drop</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : FlatEdit OLE drag-drop]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:46:16 +0000</pubDate>
  <lastBuildDate>Fri, 19 Sep 2008 01:53:43 +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=12198</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[FlatEdit OLE drag-drop : Hi, Works for me. :(  Here...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12198&amp;PID=41183&amp;title=flatedit-ole-dragdrop#41183</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12198<br /><strong>Posted:</strong> 19 September 2008 at 1:53am<br /><br />Hi,<DIV>Works for me. :(</DIV><DIV>&nbsp;</DIV><DIV>Here code I tried:</DIV><DIV>&nbsp;</DIV><DIV>Private Declare Function RegisterClipboardFormat Lib "user32" Alias "RegisterClipboardFormatA" (ByVal lpString As String) As Integer</DIV><DIV>Dim GridClipboardID As Integer</DIV><DIV>Private Sub Command1_Click()<BR>&nbsp;&nbsp;&nbsp; Command1.OLEDrag<BR>End Sub</DIV><DIV>Private Sub Command1_OLEStartDrag(Data As DataObject, AllowedEffects As Long)<BR>&nbsp;&nbsp;&nbsp; Dim d(0 To 10) As Byte<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Data.SetData d, GridClipboardID<BR>&nbsp;&nbsp;&nbsp; AllowedEffects = vbDropEffectCopy<BR>&nbsp;&nbsp;&nbsp; <BR>End Sub</DIV><DIV>Private Sub Form_Load()<BR>GridClipboardID = RegisterClipboardFormat("GridGIDs")<BR>End Sub</DIV><DIV>Private Sub Text1_OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, x As Single, y As Single, state As Integer)<BR>&nbsp;&nbsp;&nbsp; If Data.GetFormat(GridClipboardID) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print "Data"<BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub</DIV><DIV><BR>Private Sub FlatEdit1_OLEDragOver(ByVal Data As XtremeSuiteControls.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; If Data.GetFormat(GridClipboardID) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print "Data!"<BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub<BR></DIV>]]>
   </description>
   <pubDate>Fri, 19 Sep 2008 01:53:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12198&amp;PID=41183&amp;title=flatedit-ole-dragdrop#41183</guid>
  </item> 
  <item>
   <title><![CDATA[FlatEdit OLE drag-drop : FlatEdit control OLEDragDrop event...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12198&amp;PID=41173&amp;title=flatedit-ole-dragdrop#41173</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1923">PPL1</a><br /><strong>Subject:</strong> 12198<br /><strong>Posted:</strong> 18 September 2008 at 3:44pm<br /><br />FlatEdit control OLEDragDrop event first parameter is XtremeSuiteControls.DataObject.<DIV>&nbsp;</DIV><DIV>This DataObject is not the same as the DataObject of other VB controls. More important, if another&nbsp;drag source&nbsp;registers a clipboard format, the FlatEdit control DragDrop DataObject does not return it:</DIV><DIV>&nbsp;</DIV><DIV>That is: Data.GetFormat(GridClipboardID) = False even though that clipboard format was registered (using GridClipboardID = RegisterClipboardFormat("GridGIDs")). As a consequence, I must use the regular VB textbox, which works just fine.</DIV><DIV>&nbsp;</DIV><DIV>I'd like to use your control suite, but missing features and/or "improperly" implemented ones is causing me problems. Now... does an app look professional if some controls use visual styles (when using CodeJock's) and some don't (when I need to use VB stock) ? For uniformity, I can't use the CodeJock control suite, even though I'd like to. </DIV><DIV>&nbsp;</DIV><DIV>Any chance that the CodeJock suite controls can be made closer to the VB stock ones?</DIV>]]>
   </description>
   <pubDate>Thu, 18 Sep 2008 15:44:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12198&amp;PID=41173&amp;title=flatedit-ole-dragdrop#41173</guid>
  </item> 
 </channel>
</rss>