Extra large Icons in Vista
Posted 09 October 2008 - 12:09 AM
Has anyone implemented Vista's extra large icon support into an application written on Delphi? Could you tell how to make it work and/or paste the code snippet.
Posted 09 October 2008 - 09:59 AM
1) Create .ico file with the following sizes of your application icon: 16x16, 32x32, 48x48 and 256x256 pixels. Optionally, each icon size can be presented in different color modes: 32 bit, 24 bit, 8 bit or even 16 colors. You can use freeware icon editor IcoFX from http://icofx.ro to create icon files.
2) Add .ico file to the project, press <Shift-F11> in IDE. Project Manager will show new folder called Icons and your icon will be inside.
3) Add the same icon to Project Options / Application Settings by pressing "Load Icon" button.
4) Build you application.
Open the folder with project's executable in Vista file explorer and try all views from Tiles to Extra Large Icons. Application icon should appear in all sizes listed above.
The most confusing part in finding this solution was caused by the fact that Vista caches all application icons and if you modify or replace the icon, you won't see the result until you clear the cache. Check http://www.vistax64....he-rebuild.html to learn how to clear cached icons. The 2nd suggested method is more convenient as it does not require reboot.
Posted 09 October 2008 - 04:42 PM
I hope that someone will find this guides very usefull.
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
BergSoft Facebook page
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users