共用方式為


CMFCToolBar::IsBasicCommand

Determines whether a command is on the list of basic commands.

static BOOL IsBasicCommand(
   UINT uiCmd 
);

Parameters

  • [in] uiCmd
    Specifies the command to check.

Return Value

TRUE if the specified command belongs to the list of basic commands; otherwise FALSE.

Remarks

This static method determines whether the command specified by uiCmd belongs to the global list of basic commands. You can change the list of basic commands by calling CMFCToolBar::AddBasicCommand or CMFCToolBar::SetBasicCommands.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart