Unified message identifier. More...
#include <MessageId.h>

Public Member Functions | |
| MessageId (UINT message) | |
| bool | EqualOrSpecializationOf (const MessageId &rhs) const |
| For map lookup. | |
| bool | operator< (const MessageId &rhs) const |
| For sorting. | |
| bool | operator== (const MessageId &rhs) const |
| void | SetParam1 (UINT_PTR param) |
| void | SetParam2 (UINT_PTR param) |
| void | SetParam3 (UINT_PTR param) |
Public Attributes | |
| UINT | message |
| UINT_PTR | p1 |
| UINT_PTR | p2 |
| UINT_PTR | p3 |
| UINT | paramMask |
Unified message identifier.
For most messages this is really simple, like handling WM_SIZE. But for WM_COMMAND, WM_NOTIFY we want to identify the parameters inside the message as well. That enables us to extract a message handler only when certain parameters occur.
1.8.5