in reply to Win32::GUI sending Windows messages between threads [solved]

shadrack:

Sorry, I don't know how to solve your problem. I just wanted to warn you to use a custom windows message (e.g., WM_USER) rather than WM_TIMER. At some point you may decide to use a timer in your application, and your code may be in the way.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re: Win32::GUI sending Windows messages between threads

Replies are listed 'Best First'.
Re^2: Win32::GUI sending Windows messages between threads
by shadrack (Acolyte) on Jan 17, 2013 at 16:15 UTC
    Using WM_USER was my first thought, but I don't see how I can set up a handler for it. There doesn't seem to be an "-onUser" property for WM_USER in the way there in an "-onTimer" property for WM_TIMER.