neoWidgets
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
neo::MessageId Class Reference

Unified message identifier. More...

#include <MessageId.h>

Inheritance diagram for neo::MessageId:
Inheritance graph
[legend]

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
 

Detailed Description

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.


The documentation for this class was generated from the following file: