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
Post a Comment