DragAcceptFilesDragAcceptFiles*
*Contents  *Index  *Topic Contents
*Previous Topic: DefScreenSaverProc
*Next Topic: DragFinish

DragAcceptFiles

Registers whether a window accepts dropped files.

Syntax


VOID DragAcceptFiles(
    HWND hWnd,
    BOOL fAccept
);

Parameters

hWnd
Identifies the window that is registering whether it will accept dropped files.
fAccept
Value that indicates if the window identified by the hWnd parameter accepts dropped files. This value is TRUE to accept dropped files or FALSE to discontinue accepting dropped files.

Return Value


No return value.

Remarks


An application that calls DragAcceptFiles with the fAccept parameter set to TRUE has identified itself as able to process the WM_DROPFILES message from File Manager.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.