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…

Ken Cenerelli

My life in software development

scomfaq.wordpress.com/

Things about System Center and Cloud...

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.

paint.net blog

The best free image and photo editor. By Rick Brewster.

Learning by Shipping

products, development, management...

Nassau Boy's Trading Thoughts

Never Mind the Noise in the Market, Just Mind the Price of the Fish

%d bloggers like this: