What Message Types Are Associated with Which User-Interface Objects?

OverviewHow Do I

The following table shows the types of objects you work with in ClassWizard and the types of messages associated with them.

User-Interface Objects and Associated Messages

Object ID Messages
Class name, representing the containing window (see the table in Classes Offered by ClassWizard) Windows messages appropriate to a CWnd-derived class: a dialog box, window, child window, MDI child window, or topmost frame window.
Menu or accelerator identifier COMMAND message (executes the program function).

UPDATE_COMMAND_UI message (dynamically updates the menu item).

Control identifier Control notification messages for the selected control type.