Re: Capturing custom Windows Messages in wxpython
Kevin G. Moore wrote:
> Hello, this is my first post to the list. Thanks in advance for taking
> the time to help me out.
>
> I need to send a custom windows message to a wxPanel window, and have it
> be picked up by an event handler function that I wrote. I have a library
> that interfaces to a data collection system. When the data queue is full
> it posts a message to a window that has registered itself with the hardware.
>
> I have verified (with spy++, the MS Visual C++ tool) that the messages
> actually go to my wxPanel window. But they don't trigger my event
> handler. I have included two small python programs that demonstrate the
> problem. One is my wxPython app and one is a generic message posting app
> that uses the win32gui module from the pywin32 library.
>
> Can anyone point out what I am doing wrong in the first program that
> prevents me from capturing the user defined custom Windows Message?
http://wiki.wxpython.org/index.cgi/HookingTheWndProc