Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Adds a menu command to the list of commands that are always displayed when a user opens a menu.
static void __stdcall AddBasicCommand(
UINT uiCmd
);
Parameters
- [in] uiCmd
Specifies the command to add.
Remarks
A basic command is always displayed when the menu is opened. This method is meaningful when the user chooses to view recently used commands.
Use the CMFCToolBar::SetBasicCommands method to set the list of commands that are always displayed when a user opens a menu. Use the CMFCToolBar::GetBasicCommands method to retrieve the list of basic commands that is used by your application.
Requirements
Header: afxtoolbar.h