How do you set the glass blend colour on Windows 10?

Since GDI forms on Delphi don’t support alpha channels (unless using alpha layered windows, which might not be suitable), commonly the black color will be taken as the transparent one, unless the component supports alpha channels. tl;dr Just use your TTransparentCanvas class, .Rectangle(0,0,Width+1,Height+1,222), using the color obtained with DwmGetColorizationColor that you could blend with a … Read more

Aero: How to draw solid (opaque) colors on glass?

Seems to work OK for me. With the lack of a full code example I’m assuming you’ve got your compositing mode wrong. public void RenderGdiPlus() { List<string> colors = new List<string>(new string[] { “000000”, “ff0000”, “00ff00”, “0000ff”, “ffffff” }); List<string> alphas = new List<string>(new string[] { “00”, “01”, “40”, “80”, “c0”, “fe”, “ff” }); Bitmap … Read more

Documentation and API Samples for drawing on Windows Aero Glass (DWM, GDI, GDI+) for all Win32 programmers

This is a subset of my “Glass” bookmarks folder, the result of a lot of research / searching on this topic. I’ve found all of these useful for learning about glass and solving various problems drawing on it. Most of these include Delphi code, but I’ve noted where it’s for another language. Plain Glass links … Read more

Background blur with CSS

OCT. 2016 UPDATE Since the -moz-element() property doesn’t seem to be widely supported by other browsers except to FF, there’s an even easier technique to apply blurring without affecting the contents of the container. The use of pseudoelements is ideal in this case in combination with svg blur filter. Check the demo using pseudo-element (Demo … Read more