Hi Guys,
Can you please let me know how I can create a Form which it's border color is Fixed and not change by windows system default style?How can I change the color from Blue to Gray and render the form with new color in any OS regardless of what default windows color the user is using?
For Example, how can i create a Form like this which will be run as following regardless of user default setting(As my OS default setting is Blue but the App is running by it's own designed color).
http://behseini.persiangig.com/GUI/GUI.bmp

Thanks

Hi,

Since the form's border is drawn by the OS, It is difficult to change and also not advisable.

You can try to use the CodePlex Project for Drawing Custom Borders.It is a small library that extends Windows Forms with ability to customize the windows's non-client area.

You can also try the solution given in the following MSDN Forum thread.

Change Form Border Color

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.