Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 848 Bytes

File metadata and controls

16 lines (12 loc) · 848 Bytes
description Learn more about: Messages
title Messages
ms.date 11/04/2016
helpviewer_keywords
messages, MFC
messages [MFC]
ms.assetid 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