Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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