🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

drag & drop files

#8501
From: Stephan
Date: Tue, 19 Oct 2004 19:02
27 lines
1590 bytes
Hi,
I want to implement file drag and drop into my application.

I've been looking with google, through borland,
through this newsgroup, without success.

In this instance, I only want to open files.
I saw some advice concerning OLE drag & drop,
but I don't think I need this
(I'll let experts advise me if this is a bad decision)
so I am trying to handle  WM_DROPFILES
in my code.

I've been looking through the win32 help file at
DragAcceptFiles, DragFinish, DragQueryFile,
and WM_DROPFILES

The only example I've found was off borland,
for delphi.
it handles the WM_DROPFILES message
in the header with

  procedure WMDROPFILES(var Message: TWMDROPFILES);
  message WM_DROPFILES;

in the header.
what do  have to do to get this working?
Technical Details
Message-ID: <417564ef@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cfe1aa651e368c07,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Stephan" <ask me @ kilroy.wuz.here>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: drag & drop files
Date: Tue, 19 Oct 2004 15:02:42 -0400
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 69.177.35.14
Message-ID: <417564ef@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1098212591 69.177.35.14 (19 Oct 2004 12:03:11 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail