toolbar button resolution problem with VGA WM5

G

Guest

Does anyone know how to get 16x16 icons to correctly scale with VS05/WM5 on
the toolbar with C#? I am using the form autoscalemode. I have tried the
toolbar.Scale() method - no help. If I manually increase a bitmap to 32x32,
it works, but no such luck with icons, and I'd prefer not to convert all my
Icons to Bitmaps. Thanks if you can help.
 
P

Paul G. Tobey [eMVP]

Why don't you just have two resolution versions of the same icon, one at
16x16 and one at 32x32? You can do this under a single icon identifier in
the resource file. Open the icon. From the Image menu, choose New Image
Type... and choose the new resolution and color depth.

Obviously, this doesn't just "scale" the icon, but your icons would look
like crap scaled up from 16x16.

Paul T.
 
G

Guest

I had thought of that, but was just trying to reproduce what was done
automatically for me with prior versions of VS and WM. Thanks for the input
- I will probably end up having to do that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top