[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 710
  • Last Modified:

winForm style

hello
i am a java programmer,when develop the java winform,i can select different styles by modifying the "lookandfeel" attribute,but i found the c# language don't provide such function,all the applications written by c# have the same window style,but real world application,such as officexp and office2003,have the different appearance,why?how can i choose the winForm appearance of my app by using c#?

thank you!!
0
zbcong
Asked:
zbcong
  • 2
  • 2
1 Solution
 
somnaticCommented:
you need to write a manifest file ...
google or thecodeproject should be enough to help you ...

the word you're looking for is "manifest"
0
 
zbcongAuthor Commented:
thanks
let me try
0
 
zbcongAuthor Commented:
hello
i have tried them and also found a msdn link as following:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchusingwindowsxpvisualstyleswithcontrolsonwindowsforms.asp

both of them works well,but if i put a "richtextbox" control to the win form,it don't work,that means it can't change the appearance,why? from the msdn article i have mentioned,the "RichTextBox" should have a different look(v5 and v6 of comctl32.dll).
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now