Advertisement

Accept File (extended style)

Started by December 23, 2001 07:19 PM
1 comment, last by Bezzant 22 years, 11 months ago
so, i have my nifty little pak view/extracter. anyhow, i got a list box which displays the files, well i have enabled the "accept files" style however, how to i catch the messages for when a file is dragged into the listbox? i was expecting it to be a LB_ message and then the path of the file would be in either the wparam or lparam it, however, doesnt seem that way. well not unless i missed it in msdn, i went through the list of LB messages and have been seaching msnd online, but still cant seem to find an answer. could anyone point me into the direction of what i want to be looking up? many thanks alan (also, anyone that knows of any links, info, anything about creating PAK files, would you mind if i asked you a few questions? all the links i found tell you to use some already existing pak creators - wheres the fun in that?)
What you are searching is just WM_DROPFILES. This message returns a hDrop handle in wParam. This handle can then be used with DragFinish, DragQueryFile, and DrawQueryPoint function.
Advertisement
thankyou

This topic is closed to new replies.

Advertisement