Share via


Associating a Menu Item with a Status Bar Prompt

OverviewHow Do I

Your application can display descriptive text for each of the menu items that may be selected. MFC can handle this for you if you have a string in the string table whose ID is the same as the command. You do this by assigning a text string to each menu item using the Menu Item property page.

To associate a menu item with a status bar text string

  1. Click the right mouse button on the menu item and select Properties.

  2. In the Prompt box, type the associated status bar text.

Note   This feature is only available with the Microsoft Foundation Class Library (MFC).

See Also   , , , , , ,