Images on button with XP-Theme

  • Thread starter Thread starter Mike in Paradise NL
  • Start date Start date
M

Mike in Paradise NL

I have an application that has bitmap images on the
button. The applicaton was displaying them fine until I
added a manifest to the application to display them as XP
style buttons. I used the example manifest in the VS
2003 documentation in C#.

I have spent a couple hours scanning the web looking for
the answer to this..

What do I have to do differently to the image on a button
when it is displayed using an XP them.?

Anyone able to nudge me towards a solution?

Thanks...
 
Hello,

Mike in Paradise NL said:
I have an application that has bitmap images on the
button. The applicaton was displaying them fine until I
added a manifest to the application to display them as XP
style buttons. I used the example manifest in the VS
2003 documentation in C#.

I have spent a couple hours scanning the web looking for
the answer to this..

What do I have to do differently to the image on a button
when it is displayed using an XP them.?

Anyone able to nudge me towards a solution?

There is no easy way because Windows doesn't support themed buttons with
images. You must draw the button yourself by using uxtheme-API.
 
Thanks for the info and saving me from figuring that this
must be easy and I am just missing something...Now I have
to decide if it is worth the effort...This now gets stuck
on the end of the project priorities..
 
Thanks, I have that bookmarked..
-----Original Message-----
Thanks for the info and saving me from figuring that this
must be easy and I am just missing something...Now I have
to decide if it is worth the effort...This now gets stuck
on the end of the project priorities.

There is an example on The Code Project[1] that might help you.

[1] http://www.codeproject.com/cs/miscctrl/xp- style_button.asp

--
Kevin Westhead


.
 
Back
Top