🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
4 messages
4 total messages Started by Greg Brewer Sat, 14 Dec 2002 17:17
drag and drop
#17768
Author: Greg Brewer
Date: Sat, 14 Dec 2002 17:17
5 lines
1404 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 but there are two.  This should be something easy; right?

Greg Brewer
Re: drag and drop
#17769
Author: Hans Galema
Date: Tue, 17 Dec 2002 16:26
24 lines
1898 bytes
Greg Brewer wrote:
> 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 ?

> but there are two. 

Which two ?

> This should be something easy; right?

Yes, but this is a VCL issue and you're better of in the
vcl.components.using group.

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

Hans.
Re: drag and drop
#17770
Author: 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
Re: drag and drop
#17771
Author: Hans Galema
Date: Tue, 17 Dec 2002 20:17
11 lines
1699 bytes
Greg Brewer wrote:
>
> 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.

You can do a Google search with "drop from explorer" and you will
find much.

Hans.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads