index > Visual C# General > Changing the Caption/Titlebar Font

Changing the Caption/Titlebar Font

Is there a way to use/set the font used in the titlebar of a form rather than the default one set by Windows?
Clein

I don't think its possible, but it is possible for a specific control (like a textbox)

itll be down to changing your Windows theme im afraid.

Sorry I could not have been of more assistance. If I find anything ill be sure to post




Need 2 be back @ MS - MS All the way! Follower since 1995 MS Super Evangelist| MSDN Forums Moderator
ahmedilyas

I'm forced to agree with ahmedilyas.

In order to do this you've got two options, either change it as far as Windows is concerned... or paint the entire area yourself... which does take a bit of work.




Please visit http://www.brendansstudentloans.com to help me pay off my student loans a little faster
Brendan Grant
You could possibly use the GetSystemParametersInfo() API function with SPI_SETNONCLIENTPARAMETERS. This is not easy to do in C# and will change the title bar font for *all* windows, not just your own. As an alternative, you can fake your own title bar on a borderless window. The ControlPaint class helps you draw all the necessary window elements. The mouse handling is tricky though...
nobugz
reply 4

You can use google to search for other answers

 

More Articles

• How can I create dynamic control array ?
• Adding Different Color Items to ComboBox or ListBox
• Is there metadata/manifest for the Project Name of an Assembly?
• Quick Inline Structs?
• Problem in accesssing System.IO.Compression
• Multiple language support?
• Help in Creating same form as the on IDE
• DirecX.Capture error!
• How to add listview groups?
• Accessing a BindingSource in a child form
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• System.Configuration.ConfigurationManage
• How to make an mathematical look express
• rectangle question(c#)
• Service starts and then stops
• WebBrowser... EncryptionLevelChanged que
• Block/Kill Ip adress
• how to do double click operation on a pi
• copying an image w/ C# and maintaining s
• SqlConnection objects with Visual Studio
• Learning C#
• Value not appearing in textbox
• What even to use ...
• Looking for both sides of simple example
• Confused about Generic Collections.
• datarow

Hot Articles

• How do i Deallocate pages allocated to a
• Access addin attributes and parameters:
• keypress style for alphanumeric textbox
• namespace could not be found
• oracle data adapter wizard error
• Can I reference a VS2005 assembly from a
• How to Implement an Interface
• Dispose Method Error
• Developing Windows Screen saver with Fla
• table size
• RMO WEB SYNCHRONISATION
• Joystick and hardware buttons
• closing application
• How to save array of byte in Access data
• select sound device

Recommend Articles

• Output components in C#.NET
• Processing a RichTextBox
• runing a program from C# code
• <%@ Page Language="C#" Debu
• How to open folder from C# code??
• DllImport - EntryPointNotFoundException
• create a XML ini file
• How to use VB6 code in C#
• Dynamic Fields
• How can I make datagrid display the capt
• System.ArithmeticException (Overflow or
• Compile Solution Manually
• Question about UTF7 getChars and getBytes?
• Error when attempting to register
• DataReader Read Data