Udostępnij za pośrednictwem


CMFCToolBar::AddCommandUsage

Increments by one the counter that is associated with the given command.

static void __stdcall AddCommandUsage(
   UINT uiCommand
);

Parameters

  • [in] uiCommand
    Specifies the command counter to increment.

Remarks

The framework calls this method when the user selects a menu item.

The framework uses command counters to display recently used menu items.

This method increments the command counter by using the CMFCCmdUsageCount::AddCmd method.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart

CMFCCmdUsageCount::AddCmd