0

I need to change color of Title bar of Windows Form as I have highlighted below in Image

enter image description here

You can see in this pic, marked area is White in Color , normally it's color is sky blue and it's corners are not round as we have in Windows form. So my Question is how can I change color of Title bar, color of Form Border and it's corner not round.

I know using third party control like infragistics I can achieve this. But i want to do it myself. I have seen a demo on codeproject few months ago but i am unable to find it again.

Zoe
  • 27,060
  • 21
  • 118
  • 148
Varinder
  • 1,780
  • 2
  • 11
  • 18
  • That is Github client. IIRC, it is written in WPF not Winforms. – fahadash Jul 24 '14 at 12:11
  • You can override the ncpaint event, but its normally derived from windows theme – Sayse Jul 24 '14 at 12:11
  • @fahadash, It may be in WPF but I have just finished a project and i have done it using infragistic control. So it may be possible in Windows form somehow ? – Varinder Jul 24 '14 at 12:16
  • 4
    A window's title bar color is a system setting, chosen by the user when he picks his preferred theme. Programs like this create their custom title bar by starting with a borderless window and just painting it. And a whole bunch of code to restore lost functionality. – Hans Passant Jul 24 '14 at 12:16
  • @Sriram Sakthivel The link which you have mentioned is explaining about title, border color but it's not explaining how i can remove round corner – Varinder Jul 24 '14 at 12:31
  • [this](http://stackoverflow.com/questions/18822067/rounded-corners-in-c-sharp-windows-forms) will help – Sriram Sakthivel Jul 24 '14 at 12:33

0 Answers0