Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 957 Bytes

File metadata and controls

18 lines (13 loc) · 957 Bytes
description Learn more about: Messages
title Messages
ms.date 11/04/2016
helpviewer_keywords
messages, MFC
messages [MFC]

Messages

Note

The Microsoft Foundation Classes (MFC) library continues to be supported. However, we're no longer adding features or updating the documentation.

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