text_combined: alex denham p2jjphotmailcom thanks tim program actually reacts something dragged much better however im receiving error everytime pythoncom error unexpected exception gateway method dragenter dragenterpythoncom error unexpected gateway error also documentation says droppdataobj pt dweffect parameters pdataobj pyidataobject link idataobject idragtarget thanks alex date thu 24 apr 2008 121112 0100 cggctimgoldenmeuk cc pyqpxjkkw21pythonorg subject pythonwin32 creating python com objects 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 _________________________________________________________________ search win bigsnapsearchcom httpwwwbigsnapsearchcom fri 08 aug 2008 011823 0100 pythonwin32 creating python com objects