共用方式為


CWindow::DragAcceptFiles

Registers whether the window accepts dragged files.

void DragAcceptFiles(
   BOOL bAccept = TRUE 
);

Remarks

See DragAcceptFiles in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

Other Resources

CWindow Members