J
John Veldthuis
What sizes can the system tray icons be?
I have a utility that I display a number as an icon. I do it by using drawstring into the icon
bitmap and displaying it. It is fine as long as the number is only 2 digits but when it hits 3 the
text runs off the end of the icon and you cant see it anymore. I get around this by making the font
smaller but it makes it hard to read then.
An ideal way would be to do something like the clock does but I am unable to work out how it does
it. Any ideas? The icon I use is a 32x32 which I cut down to 16x16. Another way I thought of doing
it was to make it 24x16 and that would give me the extra width but it does not work.
I have a utility that I display a number as an icon. I do it by using drawstring into the icon
bitmap and displaying it. It is fine as long as the number is only 2 digits but when it hits 3 the
text runs off the end of the icon and you cant see it anymore. I get around this by making the font
smaller but it makes it hard to read then.
An ideal way would be to do something like the clock does but I am unable to work out how it does
it. Any ideas? The icon I use is a 32x32 which I cut down to 16x16. Another way I thought of doing
it was to make it 24x16 and that would give me the extra width but it does not work.