Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.26 KB

windows-messages-macros.md

File metadata and controls

49 lines (32 loc) · 1.26 KB
description title ms.date f1_keywords ms.assetid
Learn more about: Windows Messages Macros
Windows Messages Macros
11/04/2016
atlbase/ATL::WM_FORWARDMSG
ATLBASE/WM_FORWARDMSG
63abd22c-372d-4148-bb04-c605950ae64f

Windows Messages Macros

This macro forwards window messages.

Name Description
WM_FORWARDMSG Use to forward a message received by a window to another window for processing.

Requirements

Header: atlbase.h

WM_FORWARDMSG

This macro forwards a message received by a window to another window for processing.

WM_FORWARDMSG

Return Value

Nonzero if the message was processed, zero if not.

Remarks

Use WM_FORWARDMSG to forward a message received by a window to another window for processing. The LPARAM and WPARAM parameters are used as follows:

Parameter Usage
WPARAM Data defined by user
LPARAM A pointer to a MSG structure that contains information about a message

Example

In the following example, m_hWndOther represents the other window that receives this message.

[!code-cppNVC_ATL_Windowing#137]

See also

Macros