Connecting Tech Pros Worldwide Forums | Help | Site Map

resizing images on buttons

curtis.barrett@gmail.com
Guest
 
Posts: n/a
#1: Nov 17 '05
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?


Bob Powell [MVP]
Guest
 
Posts: n/a
#2: Nov 17 '05

re: resizing images on buttons


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.





<curtis.barrett@gmail.com> wrote in message
news:1130185848.033228.185710@g49g2000cwa.googlegr oups.com...[color=blue]
> 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?
>[/color]


curtis.barrett@gmail.com
Guest
 
Posts: n/a
#3: Nov 17 '05

re: resizing images on buttons


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.

Bob Powell [MVP]
Guest
 
Posts: n/a
#4: Nov 17 '05

re: resizing images on buttons


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.





<curtis.barrett@gmail.com> wrote in message
news:1130198014.873933.239270@g47g2000cwa.googlegr oups.com...[color=blue]
> 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.
>[/color]


Closed Thread