[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
DROP FILE FUNCTIONS
Windows offers the capability of selecting one or more files from its File
Manager application and dropping those files over a window.
FiveWin lets you easily take advantage of this capability, giving you the
the opportunity to develop highly context sensitive applications, that may
perform many different actions when receiving different kinds of files.
Try the samples we provide with FiveWin and you will discover that in a
short time you can do anything you can imagine with this feature.
Process explanation:
1. A window wants to receive dropped files, and therefore call
DragAcceptFiles()
2. A DropFile event has occurred and Windows sends a WM_DROPFILES
message to the window, providing a special hDrop handle.
3. The window uses DragQueryFiles() and DragQueryPoint() to get the
dropped file(s) information and performs any desired action.
4. The window is about to be destroyed and calls DragFinish() to
release the memory allocated by Windows for this process.
See Also:
ACTIVATE WINDOW
DragAcceptFiles
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson