description | title | ms.date | f1_keywords | ms.assetid | ||
---|---|---|---|---|---|---|
Learn more about: Windows Messages Macros |
Windows Messages Macros |
11/04/2016 |
|
63abd22c-372d-4148-bb04-c605950ae64f |
This macro forwards window messages.
Name | Description |
---|---|
WM_FORWARDMSG | Use to forward a message received by a window to another window for processing. |
Header: atlbase.h
This macro forwards a message received by a window to another window for processing.
WM_FORWARDMSG
Nonzero if the message was processed, zero if not.
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 |
In the following example, m_hWndOther
represents the other window that receives this message.
[!code-cppNVC_ATL_Windowing#137]