Icon size on graphic buttons
Posted on 2000-02-28
Ok... I have an application in VB5 which has several command buttons all with graphics - and no text. The graphics are icons to get the invisible background. They are all created at 48x48 pixels. The compiled exe runs fine on about 6 different machines yet on one particular Win95 machine the application displays the icons at 32x32 pixels... ie it shrunk them down and they look terrible. They consequently only fill 75% of the button. I have tried creating icons of different colour depth (24bit, 16bit, even 256 colour). I have also tried other screen res setting (800x600, 1024x768 etc).
I have also tried machines running NT4. Some with and some without Plus Pack.
Even so... this one machine (Toshiba incidently) refuses to display my icons at the original 48x48 pixels. Even WinZip displays icon buttons correctly at 48x48. What am I doing wrong with the VB?