Write your own program, if the replacement of the icon, compiled, large icon display will find that the icon does not follow the amplification.
Then the problem comes, the change of the icon effect is different, it is obvious that the icon has problems.
With Exescope Open vs2013 compiled MFC dialog box program can see the following figure:
There are more than one icon, and after we replace the icon, compile, open the discovery there is only one icon, so you can determine the problem is indeed an ICO icon.
In QQ group to ask other friends, have friends hint ico icon file can contain many groups of icons, can be a collection.
Knowing this is important, you just need to recreate an ICO icon.
Download and install IconWorkshop software
Open a picture and click here, as shown below:
Then set the following
Once set, click OK and then ctrl+s save so that the ICO icon collection is made.
Then use this icon to replace, recompile, refresh the System icon cache, and then change the icon zoom, you can see the effect.
The "Force refresh icon cache. Bat" reads as follows:
REM Shutdown Windows Shell Explorer taskkill/f/im explorer.exe rem cleanup System icon cache database Attrib-h-s-r "%userprofile%\appdata\local\iconca Che.db "del/f"%userprofile%\appdata\local\iconcache.db "attrib/s/d-h-s-r"%userprofile%\appdata\local\microsoft\ windows\explorer\* "del/f"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_32.db "del/f"% Userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_96.db "del/f"%userprofile%\AppData\Local\ Microsoft\windows\explorer\thumbcache_102.db "del/f"%userprofile%\appdata\local\microsoft\windows\explorer\ Thumbcache_256.db "del/f"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_1024.db "del/f"% Userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_idx.db "del/f"%userprofile%\AppData\Local\ Microsoft\windows\explorer\thumbcache_sr.db "REM Cleanup system tray memory icon Echo y|reg Delete" Hkey_classes_root\local Settings\ Software\microsoft\windows\currentversion\traynotify "/V iconstreams echo y|reg Delete" Hkey_classEs_root\local settings\software\microsoft\windows\currentversion\traynotify "/V pasticonsstream rem Restarting Windows Shell Explorer start Explorer
Copy the above content to the Force Refresh icon cache. bat Double click to refresh the System icon cache.
Finally, attach a final effect chart: