Solved

winForm style

Posted on 2004-09-10
5
705 Views
Last Modified: 2008-03-17
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
Comment
Question by:zbcong
  • 2
  • 2
5 Comments
 
LVL 4

Expert Comment

by:somnatic
ID: 12025124
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
 
LVL 4

Accepted Solution

by:
somnatic earned 125 total points
ID: 12025128
0
 

Author Comment

by:zbcong
ID: 12032553
thanks
let me try
0
 

Author Comment

by:zbcong
ID: 12041102
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question