Delphi system setup program icon to the default icon

Windows VCL program:

1. Open .dproj Delphi project file with a text editor.
2. Search for the keyword "<Icon_MainIcon>", find Icon_MainIcon elements.
3. The contents of all elements Icon_MainIcon delete (delete the content between <Icon_MainIcon> and </ Icon_MainIcon>).
4. Save the file.

Validation results:
Reopen Delphi project, open the Options window project.

In the Project Options window on the left: Select the application - icon.

In the Options window on the right side project: the application icon displays a blank icon, it has been removed Delphi default icon.

Please clean up project to recompile and clear the windows icon cache system.


 

Other programming languages:

C++ :

When registration window class hIcon = NULL;

 

Guess you like

Origin www.cnblogs.com/it89/p/12008783.html