Henk Devos
http://www.whirlingdervishes.com
"George" <x...@no.com> wrote in message news:3E682B7E...@no.com...
It's not hard to do that again, but what is the data structure?
On codeguru site, someone said HDROP is just a pointer, pointing to
a CF_HDROP handle. But I can't get it to work.
Thanks for the reply.
George
For WM_DROPFILES, you *get* an HDROP, and use it in DragQueryFile to extract
the file names. You don't create an HDROP there.
>
> It's not hard to do that again, but what is the data structure?
>
> On codeguru site, someone said HDROP is just a pointer, pointing to
> a CF_HDROP handle. But I can't get it to work.
See above.
-Joe
Your link point to DROPFILES/CF_HDROP structure, I've already
got that (see my original post). What I want is HDROP, not
CF_HDROP. Are you telling me their same thing?
Thanks for reply.
George
Your link pointing to DROPFILES/CF_HDROP structure, I've already
got that (see my original post). What I want is HDROP, not
CF_HDROP. Are you telling me they're same thing?
Thanks for reply.
George
Yes.
HDROP is a global handle referring to a DROPFILES structure.
CF_HDROP is the *id* for an HDROP that is stored on the clipboard.
-Joe
Joe wrote:
> HDROP is a global handle referring to a DROPFILES structure.
cool. that's easy.
> CF_HDROP is the *id* for an HDROP that is stored on the clipboard.
how do i get this *id*?
thank you very much for you help.
>> CF_HDROP is the *id* for an HDROP that is stored on the clipboard.
>
> how do i get this *id*?
It's defined in WinUser.h:
#define CF_HDROP 15
Regards,
Axel
"George" <x...@no.com> wrote in message news:3E6BAA67...@no.com...