Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Win32::GUI sending Windows messages between threads

by roboticus (Canon)
on Jan 17, 2013 at 12:06 UTC ( #1013766=note: print w/ replies, xml ) Need Help??


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
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013766]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2014-07-29 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls