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.
Sets the application that the user tool runs.
void SetCommand(
LPCTSTR lpszCmd
);
Parameters
- [in] lpszCmd
Specifies the new application to be associated with the user tool.
Remarks
Call this method to set a new application that the user tool runs. The method destroys the old icon and loads a new icon from the given application. If it cannot load an icon from the application, it loads the default icon for a user tool by calling CUserTool::LoadDefaultIcon.
Requirements
Header: afxusertool.h