Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Sets the list of commands that the user cannot customize.
static void SetProtectedCommands(
const CList<UINT,UINT>& lstCmds
);
Parameters
- [in] lstCmds
The list of protected commands.
Remarks
In customization mode, the framework disables toolbar button commands that are protected. The user cannot perform drag-and-drop and edit operations on disabled toolbar buttons.
Use the CMFCToolBarButton::GetProtectedCommands method to retrieve the list of protected commands.
Requirements
Header: afxtoolbarbutton.h