tim golden cggctimgoldenmeuk alex denham wrote class pyidroptarget _public_methods_ dragenter dragover dragleave drop _reg_progid_ pythonpyidroptarget _reg_clsid_ 0000012200000000c000000000000046 def dragenterself argsnone print dragenter args def dragoverself argsnone print dragover args def dragleaveself argsnone print dragleave args def dropself argsnone print drop args used com register thing register tried droptarget win32comclientdispatchpythonpyidroptarget didnt know pythoncomwrapobject however cant call dispatch object implementing idispatch think youll need something like untested import pythoncom clsid 89dd545a2c834103afe36ceb7ff5eca4 generated pythoncomcreateguid progid timdroptarget desc drop target handler tims app class droptarget _reg_clsid_ clsid _reg_progid_ progid _reg_desc_ desc _public_methods_ dragenter dragover dragleave drop _com_interfaces_ pythoncomiid_idroptarget def dragenterself argsnone print dragenter args def dragoverself argsnone print dragover args def dragleaveself argsnone print dragleave args def dropself argsnone print drop args drop_target pythoncomwrapobject droptarget pythoncomiid_idroptarget pythoncomregisterdragdrop hwnd drop_target _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 fri 08 aug 2008 013108 0100 pythonwin32 creating python com objects