Pictures in Statusbar
Posted on 2000-02-27
I am using the statusbar control that comes with VB.
No matter where I get the picture from to show in one of the panels (be it from a picture loaded from a picturebox or from loaded from a res file) the statusbar messes with the image stretching it and or messing with the colours.
Does any one know a way of consistently being able to load pictures into a statusbar panel without any distortions or loss of colour?
NB the pictures/Icons I am working with are 16x16 as I thought this would be a reasonable/standard size.
(I have heard it rumoured that the API routine LoadImage might provide a solution........and I have got it to provide a handle to the icon in my res file......but where from here. However if your solution is different but works just as well - then heck to the LoadImage function.)