I'm very beginner in asm so in GetMessage is there any situation where I don't have to use NULL in the hWnd parameter ?

Thanks :confused:
Posted on 2004-06-12 14:01:18 by Marginais
dunno... you could make a thread and message pump per window in your application, I guess - but I dunno if there's any reason to do this, normal/good threading design would have your UI/messagepump in one thread, and if you do heavy work, "worker threads" for this work.
Posted on 2004-06-12 16:23:14 by f0dder
You can't use GetMessage with a window created by another thread however... I can't think of any use for only receiving messages for a certain window.
Posted on 2004-06-12 17:41:43 by Sephiroth3
Posted on 2004-06-12 17:58:04 by Scali