Urgent...Change form color based on theme selected

  • Thread starter Thread starter Ramaprasad
  • Start date Start date
R

Ramaprasad

Dear friends,
I have to change the color and appearence of the Windows
form(c#) based on the theam selected by the user(Like,
theme set using control panel).

Any help will be greately appreciated.
Waiting for help
Ramaprasad
 
hi,
Thanks for the reply,
Please explain me the steps in detail as i am not aeare
of this concept.

Thanks
Ramaprasad
 
Which version of the Framework are you using? In version 1.1, there is a method called Application.EnableVisualStyles() that you can call to get XP Visual
Styles (theming) for your app (look up the MSDN documentation for this method to see how to use it). In version 1.0, you will need to go the manifest file
route. See this MSDN article for details and steps for doing this: http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/dv_vstechart/html/vbtchUsingWindowsXPVisualStylesWithControlsOnWindowsForms.asp?frame=true.


--
Raghavendra, Windows Forms Team

This posting is provided "AS IS" with no warranties, and confers no rights.
NOTE: Please do not send mail directly to this alias.
--------------------
 
Back
Top