text_combined: tim golden cggctimgoldenmeuk well still watching show case anyone comes along future question attach small working example accept one files dropped onto window doesnt anything files bar pull names relevant data structure thats specific application many thanks roger critical info get working alex asking question started tjg import os sys import win32gui import win32con import pythoncom import win32comserverpolicy win32comshell import shell shellcon clsid generated pythoncomcreateguid clsid 89dd545a2c834103afe36ceb7ff5eca4 progid timdroptarget desc drop target handler tim class droptarget win32comserverpolicydesignatedwrappolicy _reg_clsid_ clsid _reg_progid_ progid _reg_desc_ desc _public_methods_ dragenter dragover dragleave drop _com_interfaces_ pythoncomiid_idroptarget def __init__ self hwnd self_wrap_ self selfhwnd hwnd def dragenter self data_object key_state point effect data_objectquerygetdata 15 none 1 1 1 return shellcondropeffect_copy else return shellcondropeffect_none def dragover self key_state point effect pass def dragleave self pass def drop self data_object key_state point effect data data_objectgetdata 15 none 1 1 1 n_files shelldragqueryfilew datadata_handle 1 filenames shelldragqueryfilew datadata_handle n_file n_file range n_files def create_window def ondestroy hwnd msg wparam lparam win32guipostquitmessage 0 wc win32guiwndclass hinst win32guigetmodulehandlenone wclpszclassname dragdrop wcstyle win32concs_vredraw win32concs_hredraw wchcursor win32guiloadcursor 0 win32conidc_arrow wchbrbackground win32concolor_window wclpfnwndproc win32conwm_destroy ondestroy classatom win32guiregisterclass wc style win32conws_visible win32conws_overlapped win32conws_sysmenu return win32guicreatewindow classatom drag drop demo style 0 0 100 100 0 0 hinst none __name__ __main__ pythoncomoleinitialize hwnd create_window drop_target droptarget hwnd pythoncomregisterdragdrop hwnd pythoncomwrapobject drop_target pythoncomiid_idroptarget pythoncomiid_idroptarget win32guipumpmessages _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 fri 08 aug 2008 021657 0100 pythonwin32 creating python com objects