How many pixels in the Windows Taskbar Icons?

5.6k views Asked by At

I'm making a program that will show you when caps lock is turned on. I want it to display a little icon on the Windows Taskbar by the icons such as the battery, volume and internet connection. I was just wondering what the dimensions of the image could/should be.

1

There are 1 answers

0
Jon Coombs On BEST ANSWER

Googling on this...

windows tray icons resolution

... the first few hits are quite helpful; What is the size of the icons in the system tray? says that

It's 16x16. If you create a .ico file that supports 16, 32, 48 and 256 sizes, you're covered.

And it points here, where Microsoft recommends:

Notification area icons should be high-DPI aware. An application should provide both a 16x16 pixel icon and a 32x32 icon in its resource file, and then use LoadIconMetric to ensure that the correct icon is loaded and scaled appropriately.