If your looking to create a custom chrome window in Winform or WPF, you should take a look at the ‘Marlett’ font that is available on your system.

This font contains the actual glyphs used in Windows for the Minimize, Maximize, Restore and Close buttons.

Using this font makes it really easy to reuse these glyphs in a custom chrome window, instead of custom images that is typically used.

To get started, assign your buttons the Marlett font.

Next, assign the text value for each of the buttons the following…

  • Close button, use the text r (lowercase R)
  • Minimize button, use 0 (zero)
  • Maximize button, use 1 (one)
  • Restore button, use 2 (two)

You can take a look at the Marlett font in the Windows Character Map or here for more details.

Here is an example of what the Windows buttons would look like using this font…

Advertisements
Software Engineering

Web development

PowerShell, Programming and DevOps

Musings and mischief on PowerShell, Programming and DevOps.

toon vanhoutte

Blogging about connecting devices, systems and people! On-premises and in the cloud. Microsoft stack only.

Ken Cenerelli

My life in software development

STEFANROTH.NET

Things about cloud and management

Build HoloLens

All about HoloLens

DevDays®

For web designers and cloud developers

Build Azure

All about the Microsoft Cloud

vishal patel

Software Developer, Windows 8 and Windows Phone Enthusiast

SQL with Manoj

SQL Server (TSQL) Programming, DB concepts, Tips & Tricks with >400 articles... comments welcome!!!

dragablz.wordpress.com/

Dragable, tearable, dockable WPF TabControl. Open source to boot.

Adrian Hall

Because Developers are Awesome

Ratish Philip's Blog

Another adventure in code...

codematrix

Application Architecture at it's best

One Unicorn

Thoughts from one member of the Entity Framework team...

Rachel Lim's Blog

Simplifying programming into something I can understand

.NET Developer's Blog

Software Development, Flying and Life

The Flying Maverick

Software Development, Flying and Life

Hiking Photography

Beautiful photos of hiking and other outdoor adventures.

%d bloggers like this: