resizing images on buttons

C

curtis.barrett

Hi I am trying to convert some forms of mine from a 1024 X 768 size to
a 800 X 600 size and everything works fine except for the buttons. I
need to scale the images on the button but I can't figure out how to do
it. Any ideas on how to rescale the image with the button?
 
B

Bob Powell [MVP]

Word has a nice graphics processor that scales images nicely. Failing that,
create custom button controls.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
C

curtis.barrett

Ok thanks a bunch. It seems now that my scaled down images aren't
getting pushed through to the buttons... sigh oh well gonna have to
figure out that next.
 
B

Bob Powell [MVP]

You will have to remove the ones that are on there now and replace them with
the new ones. The images will be stored in the resources as XML and changes
to the original files will not show up just by replacing them.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 

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