you can use the Window API, show WIN32 Help API for message WM_DROPFILES and
the API function for you is probably "DragQueryFile" look there.
the discription for WM_DROPFILES the origin for drag and drop of files
The WM_DROPFILES message is sent when the user releases the left mouse
button while the cursor is in the window of an application that has
registered itself as a recipient of dropped files.
WM_DROPFILES
hDrop = (HANDLE) wParam; // handle of internal drop structure
Parameters
hDrop
Value of wParam. Identifies an internal structure describing the dropped
files. This handle is used by the DragFinish, DragQueryFile, and
DragQueryPoint functions to retrieve information about the dropped files.
Return Values
An application should return zero if it processes this message.
See Also
DragAcceptFiles, DragFinish, DragQueryFile, DragQueryPoint
---------
for the file...
_________________________________________________________________
PC Magazine?s 2007 editors? choice for best Web mail?award-winning Windows
Live Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|