How to change forms title color and it's font..

  • Thread starter Thread starter Amb k
  • Start date Start date
A

Amb k

IS there any way to change the forms title color and font type to some other
color and font type? (vs2005)
 
Amb k said:
IS there any way to change the forms title color and font type to some other
color and font type? (vs2005)

Hi,

The caption bar style should usually be left to the user to decide and is
ruled by the system. You could possibly tap into these system settings and
change the color and font type, but I doubt the user would be pleased as it
would change the caption style for every program.

However, there are cases where a custom caption bar is in place. In those
cases I believe you need to set BorderStyle.None and handle the caption bar
painting on your own, possibly by adjusting the ClientSize area to leave
space for a caption bar and handle WM_NCPaint to paint the caption bar (and
possibly borders).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top