saint
Дата: 02.05.2006 15:53:57
MSDN:WinAPI -> DispatchMessage
The system automatically creates a message queue for each thread. If the thread creates one or more windows, a message loop must be provided; this message loop retrieves messages from the thread's message queue and dispatches them to the appropriate window procedures.