All Noun
5 examples (0.01 sec)
  • After retrieving the message, the application sends the message to the associated window's handling procedure using DispatchMessage.
  • After some optional processing, it will call DispatchMessage, which dispatches the message to the relevant handler, also known as WindowProc.
  • The core Windows message loop (including calls to GetMessage, TranslateMessage and DispatchMessage) is at the core of any Windows application.
  • DispatchMessage calls the window-proc of the HWND handle of the message (Registered with the RegisterClass function).
  • Though not strictly required, it is conventional for the event loop to call TranslateMessage and DispatchMessage, which transfers the message to the callback procedure associated with the window the message refers to.