Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Win32::GUI sending Windows messages between threads

by roboticus (Chancellor)
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 browsing the Monastery: (12)
As of 2015-07-02 09:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (33 votes), past polls