> If you're using native windows, you can catch the WM_DROPFILES
> window message and use win32api.DragQueryFile to get the
> names of dropped
> files.

It may also be necessary to call DragAcceptFiles.  This is missing from
win32gui (but has been addded), but does exist in win32ui.  You may need to
do something like:

win32ui.CreateWindowFromHandle(hwnd).DragAcceptFiles(True)

In builds 205 and later you will be able to say:

win32gui.DragAcceptFiles(hwnd, True)

Mark

_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to