다음을 통해 공유


CMFCToolBar::IsCommandPermitted

Determines whether a command is permitted.

static BOOL IsCommandPermitted(
   UINT uiCmd 
);

Parameters

  • [in] uiCmd
    Specifies the command to check.

Return Value

TRUE if the specified command is permitted; otherwise FALSE.

Remarks

This static method determines whether the command specified by uiCmd belongs to the global list of non-permitted commands.

You can change the list of non-permitted commands by calling CMFCToolBar::SetNonPermittedCommands.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart