multithreading - C - WinAPI - send message to thread and wait for it -


i want send message in winapi window, created in other thread , wait process message.

is possible? in advance.

use sendmessage() send message window.

sendmessage() blocks calling thread until message had been delivered and processed target window's message dispatcher.

from sendmessage()'s documentation:

sends specified message window or windows. sendmessage function calls window procedure specified window , not return until window procedure has processed message.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -