Export (0) Print
Expand All
Expand Minimize

DragAcceptFiles function

Registers whether a window accepts dropped files.

Syntax


VOID DragAcceptFiles(
  HWND hWnd,
  BOOL fAccept
);

Parameters

hWnd

Type: HWND

The identifier of the window that is registering whether it will accept dropped files.

fAccept

Type: BOOL

A 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.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shellapi.h

Library

Shell32.lib

DLL

Shell32.dll (version 4.0 or later)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft