Share via


Message Map Macros (ATL)

These macros define message maps and entries.

ALT_MSG_MAP

Marks the beginning of an alternate message map.

BEGIN_MSG_MAP

Marks the beginning of the default message map.

CHAIN_MSG_MAP_ALT

Chains to an alternate message map in the base class.

CHAIN_MSG_MAP_ALT_MEMBER

Chains to an alternate message map in a data member of the class.

CHAIN_MSG_MAP

Chains to the default message map in the base class.

CHAIN_MSG_MAP_DYNAMIC

Chains to the message map in another class at run time.

CHAIN_MSG_MAP_MEMBER

Chains to the default message map in a data member of the class.

COMMAND_CODE_HANDLER

Maps a WM_COMMAND message to a handler function, based on the notification code.

COMMAND_HANDLER

Maps a WM_COMMAND message to a handler function, based on the notification code and the identifier of the menu item, control, or accelerator.

COMMAND_ID_HANDLER

Maps a WM_COMMAND message to a handler function, based on the identifier of the menu item, control, or accelerator.

COMMAND_RANGE_CODE_HANDLER

Maps a WM_COMMAND message to a handler function, based on the notification code and a contiguous range of control identifiers.

COMMAND_RANGE_HANDLER

Maps a WM_COMMAND message to a handler function, based on a contiguous range of control identifiers.

DECLARE_EMPTY_MSG_MAP

Implements an empty message map.

DEFAULT_REFLECTION_HANDLER

Provides a default handler for reflected messages that are not handled otherwise.

END_MSG_MAP

Marks the end of a message map.

FORWARD_NOTIFICATIONS

Forwards notification messages to the parent window.

MESSAGE_HANDLER

Maps a Windows message to a handler function.

MESSAGE_RANGE_HANDLER

Maps a contiguous range of Windows messages to a handler function.

NOTIFY_CODE_HANDLER

Maps a WM_NOTIFY message to a handler function, based on the notification code.

NOTIFY_HANDLER

Maps a WM_NOTIFY message to a handler function, based on the notification code and the control identifier.

NOTIFY_ID_HANDLER

Maps a WM_NOTIFY message to a handler function, based on the control identifier.

NOTIFY_RANGE_CODE_HANDLER

Maps a WM_NOTIFY message to a handler function, based on the notification code and a contiguous range of control identifiers.

NOTIFY_RANGE_HANDLER

Maps a WM_NOTIFY message to a handler function, based on a contiguous range of control identifiers.

REFLECT_NOTIFICATIONS

Reflects notification messages back to the window that sent them.

REFLECTED_COMMAND_CODE_HANDLER

Maps a reflected WM_COMMAND message to a handler function, based on the notification code.

REFLECTED_COMMAND_HANDLER

Maps a reflected WM_COMMAND message to a handler function, based on the notification code and the identifier of the menu item, control, or accelerator.

REFLECTED_COMMAND_ID_HANDLER

Maps a reflected WM_COMMAND message to a handler function, based on the identifier of the menu item, control, or accelerator.

REFLECTED_COMMAND_RANGE_CODE_HANDLER

Maps a reflected WM_COMMAND message to a handler function, based on the notification code and a contiguous range of control identifiers.

REFLECTED_COMMAND_RANGE_HANDLER

Maps a reflected WM_COMMAND message to a handler function, based on a contiguous range of control identifiers.

REFLECTED_NOTIFY_CODE_HANDLER

Maps a reflected WM_NOTIFY message to a handler function, based on the notification code.

REFLECTED_NOTIFY_HANDLER

Maps a reflected WM_NOTIFY message to a handler function, based on the notification code and the control identifier.

REFLECTED_NOTIFY_ID_HANDLER

Maps a reflected WM_NOTIFY message to a handler function, based on the control identifier.

REFLECTED_NOTIFY_RANGE_CODE_HANDLER

Maps a reflected WM_NOTIFY message to a handler function, based on the notification code and a contiguous range of control identifiers.

REFLECTED_NOTIFY_RANGE_HANDLER

Maps a reflected WM_NOTIFY message to a handler function, based on a contiguous range of control identifiers.

See Also

Other Resources

ATL Macros