Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 848 Bytes

messages.md

File metadata and controls

16 lines (12 loc) · 848 Bytes
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Messages
Messages
11/04/2016
messages, MFC
messages [MFC]
b1476310-a135-42ca-817c-444fb3675491

Messages

The message loop in the Run member function of class CWinApp retrieves queued messages generated by various events. For example, when the user clicks the mouse, Windows sends several mouse-related messages, such as WM_LBUTTONDOWN when the left mouse button is pressed and WM_LBUTTONUP when the left mouse button is released. The framework's implementation of the application message loop dispatches the message to the appropriate window.

The important categories of messages are described in Message Categories.

See also

Messages and Commands in the Framework