I want to load an appropriate icon size myself before displaying it on the Windows system tray . If I let Windows do this (as suggested on many pages on the net), it uses the wrong icon size and the resulting system tray icon looks bad. I can do a much better job in Photoshop if I find a way to specify which icon size to load.
The task of loading a specific icon size is easy with LoadIconWithScaleDown or even LoadImage, the question is how do I find out the current size of icons displayed in the system tray?
Notification area icons are square icons, of size equal to
GetSystemMetrics(SM_CXSMICON). In other words, they are small icons.The sample code towards the end of the
NOTIFYICONDATAdocumentation gives tacit confirmation of this.