My application creates a window in the main thread, but I want the message loop in a separate thread. Is there any way to catch the messages from that window while an another thread? I tried giving GetMessage that window's handle, it didn't work. I could just create the window in the separate thread as well, but that would mean dealing with the single void pointer i'm allowed to pass through CreateThread which I would prefer to avoid.
death_oclock 103 Posting Whiz
death_oclock 103 Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.