🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17770

Re: drag and drop

#17770
From: Greg Brewer
Date: Tue, 17 Dec 2002 18:16
36 lines
2424 bytes
> > I've added support drag and drop operations with a custom component
before
> > but how do I do it with a vcl component?  The dde component would be my
> > first guess
> What is the dde component ?

Dynamic Data Exchange component.  Actually, there are 4: DdeClientConv,
DdeClientItem, DdeServerConv, DdeServerItem.

> > but there are two.
> Which two ?

DdeClientConv and DdeClientItem

> > This should be something easy; right?
>
> Yes, but this is a VCL issue and you're better of in the
> vcl.components.using group.

I wasn't sure and this is applicable to both so I cross posted.  It could be
that OLE is better suited to what I want.  My previous experience was with
Dde though.

> Read the thread:
> Date: Wed, 11 Dec 2002 17:06:19 -0500
> From: "Jason W. Hinson" <hinsonj@cna.org>
> Newsgroups: borland.public.cppbuilder.vcl.components.using
> Subject: Dragging, docking, and aligning: a special case

I did but doesn't appear to be applicable.  This discuss moving components
on a form.  I want to have it so that you can drop a file onto my form and
have the form be able to receive the file and process it.  Similar to what
happens when you drag a file onto the program editor.  In the case of
Builder, it will open the file if you drag a .cpp file onto it.

Greg
Technical Details
Message-ID: <3dff69f8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3dfb6777@newsgroups.borland.com> <3dff4f73@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,3624a4c8ca9c1897
X-Google-Attributes: gid10cc67,public
X-Google-Thread: f5c5c,3624a4c8ca9c1897
X-Google-Attributes: gidf5c5c,public
X-Google-ArrivalTime: 2002-12-17 10:33:27 PST
From: "Greg Brewer" <Greg@Brewer.net>
Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.cppbuilder.vcl.components.using
References: <3dfb6777@newsgroups.borland.com> <3dff4f73@newsgroups.borland.com>
Subject: Re: drag and drop
Date: Tue, 17 Dec 2002 12:16:36 -0600
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 206.180.152.142
Message-ID: <3dff69f8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1040148984 206.180.152.142 (17 Dec 2002 10:16:24 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail