[python-win32] Creating python com objects

2008-04-23 Thread Roger Upole
Alex Denham wrote: Hi, Anybody happen to know how to go about creating a COM object that RegisterDragDrop() will actually accept? print dropTarget pythoncom.RegisterDragDrop(_id, dropTarget) Traceback (most recent call last): File "C:\Python25\DragAndDrop.py", line 82, in main()

Re: [python-win32] Creating python com objects

2008-04-23 Thread Alex Denham
I haven't checked anything from wxWidgets and i don't intend to (yet). I have found many functions that appear to help with dragging and dropping in Windows, but practically no documentation to go with. Piecing bits together from google, msdn, PyWin32 documentation, Python Programming on Win32, h

Re: [python-win32] Creating python com objects

2008-04-23 Thread Dahlstrom, Roger
I might be greatly misinterpreting what you're trying to do here, but RegisterDragDrop registers a window, not a com object. The drop target instance would be associating the target with that particular window. Have you checked out wxDropTarget? From: [EMAIL

[python-win32] Creating python com objects

2008-04-23 Thread Alex Denham
Hi, Anybody happen to know how to go about creating a COM object that RegisterDragDrop() will actually accept? print dropTarget pythoncom.RegisterDragDrop(_id, dropTarget) Traceback (most recent call last): File "C:\Python25\DragAndDrop.py", line 82, in main() File "C:\Python25\DragA