The images in iconic views are best scaled to one of the standard icon sizes for which there is likely to be an available native rendering, otherwise there may be some blurring/distortion. So, for example, if configured for 20x20 icons at 96-dpi, when scaled to 120dpi the images should be rendered at 24x24 rather than 25x25. The use of a fixed set of sizes also prevents the IconImageManager having to generate and accumulate in-memory the image lists for odd sizes. Each such image list needs to contain all the previously used images, and every time a new image is used it needs to be added to all the lists, so the overhead could be significant.
Contains a couple of incidental fixes I noticed along the way:
Tooltips not working in Method Explorer status bar (flag not set in the view resource)
Unused class variable of CommonDialog, CreateCenteredMask
The images in iconic views are best scaled to one of the standard icon sizes for which there is likely to be an available native rendering, otherwise there may be some blurring/distortion. So, for example, if configured for 20x20 icons at 96-dpi, when scaled to 120dpi the images should be rendered at 24x24 rather than 25x25. The use of a fixed set of sizes also prevents the IconImageManager having to generate and accumulate in-memory the image lists for odd sizes. Each such image list needs to contain all the previously used images, and every time a new image is used it needs to be added to all the lists, so the overhead could be significant.
Contains a couple of incidental fixes I noticed along the way: