#1
|
|||
|
|||
Handling WINDOW_EVENT
Hello,
I am trying to handle window events. As an example I used vizdragdrop.py from the python directory in Vizard. I can not find good documentation on how to use this. But the example really helps. So in my subclass of viz.EventClass I have an callback with viz.WINDOW_EVENT and I use addWindowMessage to add the message I want to listen to. In the callback function I receive the e object with it's e.lParam and e.wParam. But according the documentation of my message I need to report back. I should return 0 if I have handled the message or call DefWindowProc if I didn't. How do I do that in Vizard? Should I just return 0 and call DefWindowProc myself (ctypes) or is there a build in method? Greetings, Joran. |
Tags |
eventclass, windows |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
memory handling in vizard | chris_user | Vizard | 5 | 03-22-2011 01:52 PM |
Handling of .jpg files | Uttama_vizard | Vizard | 6 | 04-10-2009 02:37 PM |
event detection and handling | Chandan | Vizard | 1 | 10-13-2006 04:01 PM |