ON_REGISTERED_MESSAGE
Visual Studio 2010
The Windows RegisterWindowMessage function is used to define a new window message that is guaranteed to be unique throughout the system.
ON_REGISTERED_MESSAGE(nMessageVariable, memberFxn )
This macro indicates which function will handle the registered message.
For more information and examples, see Message Handling and Mapping Topics.