Partager via


CMFCCmdUsageCount::HasEnoughInformation

Determines whether this object has received the minimum amount of tracking data.

BOOL HasEnoughInformation() const;

Return Value

Nonzero if this object has received the minimum amount of tracking data; otherwise 0.

Remarks

This method returns a nonzero value if the total count, m_nTotalUsage, of all tracked commands is equal to or larger than the initial count, m_nStartCount. By default, the framework sets the initial count 0. You can override this value by using the CMFCCmdUsageCount::SetOptions method.

This method is used by CMFCMenuBar::IsShowAllCommands to determine whether to show all available menu commands.

Requirements

Header: afxcmdusagecount.h

See Also

Reference

CMFCCmdUsageCount Class

Hierarchy Chart

CMFCCmdUsageCount::SetOptions

CMFCMenuBar::IsShowAllCommands