On Nov 20, 3:52 am, Kevin Osthoff [EMAIL PROTECTED] wrote:
Hi!
I'm trying to set a message hook with python to catch WM_DROPFILES.
The guiframework is Tkinter.
Here a code snippet:
hwnd = eval(self.wm_frame())
win32gui.DragAcceptFiles(hwnd,1)
wnd = win32ui.CreateWindowFromHandle(hwnd)
On Nov 20, 3:52 am, Kevin Osthoff [EMAIL PROTECTED] wrote:
Hi!
I'm trying to set a message hook with python to catch WM_DROPFILES.
The guiframework is Tkinter.
Here a code snippet:
hwnd = eval(self.wm_frame())
win32gui.DragAcceptFiles(hwnd,1)
wnd = win32ui.CreateWindowFromHandle(hwnd)
Mike Driscoll schrieb:
I recommend re-posting to the PyWin32 mailing list where the creators
of this package lurk. They'll probably be able to give you some
advice:
http://mail.python.org/mailman/listinfo/python-win32
Ok. I will try this.
Mike
--
Aaron Brady wrote:
I've done some hooks in C. If no one has a simpler way, I can help
you build a DLL to do it, and call it from Python.
Thx for the offer but i will try to do it in python first. ;)
--
http://mail.python.org/mailman/listinfo/python-list