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…