Article View: borland.public.cppbuilder.nativeapi
Article #6469Couple of questions about: Creating & Importing Scrap Files...
From: Oren Halvani
Date: Tue, 10 May 2005 18:53
Date: Tue, 10 May 2005 18:53
56 lines
2745 bytes
2745 bytes
dear builders - or let's begin like that: dear Remy :-) u've posted me an intressting link about creating scrap files in the components.using thread.. as you know, i need to drag selected text (RichEdit) out and drop it into the desktop or even a normal "Windows Explorer" window, i still cannot figure out, how to beginn.. what is the: IDataObject ? it's a interface, OK...but how do i use it excatly...? i've looked in google and i found how to declare it (in 3 languages..) /*****************************************************/ [Visual Basic] Overloads Public Overridable Sub Paste ( _ ByVal data As IDataObject, _ ByVal x As Integer, _ ByVal y As Integer _ ) [C#] public virtual void Paste ( IDataObject data, int x, int y ); [JScript] public function Paste ( data : IDataObject, x : int, y : int ); /*****************************************************/ i've also noticed this: /*****************************************************/ Requirements: Platforms: Windows XP Family SP2 or higher (!!!!!) /*****************************************************/ does it really mean, that if i'm using Win2000, ME, or below i can't use the function...? can someone PLEASE help me to solve the problem, i've looked also in this great tutorial: http://www.catch22.net/tuts/dragdrop.asp but there is no description how to drop the selected text that i need (from the RichEdit) and drop it into the Windows Explorer (maybe is described, but i can't see it..) the site shows how to drag'n drop between 2 selfcreated-applications...but what about the windows-explorer... can someone have a look on it...? Oren
Technical Details
Message-ID:
<4280f537@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2d5efa8ad7d25500,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Oren Halvani" <HaHaHa@HaHaHa.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Couple of questions about: Creating & Importing Scrap Files... Date: Tue, 10 May 2005 20:53:51 +0200 Lines: 58 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2096 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2096 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 217.132.107.159 Message-ID: <4280f537@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1115747639 217.132.107.159 (10 May 2005 10:53:59 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail