Small update
Fixed the display of the window thumbnail in the taskbar on Windows 11 - previously, the image could appear "blurred"/"compressed" due to incorrect calculation of the client area. Added processing adjustments based on the system window boundaries, which eliminates distortion and provides a clearer preview.
The application of the accent color to the window title in Windows 11 has been disabled. Previously, the top bar was automatically colored with the system color. Now, the title remains neutral.
Code:
DwmSetWindowAttribute(DWMWA_CAPTION_COLOR)
The loading and display of icons in the FTitleBar has been improved. Previously, when using large icons, they could appear "compressed" and pixelated.
Now, the most appropriate frame size is selected from the .ico file, taking into account the DPI, which results in a clear and correct display without distortion in most cases.
Code:
Factory: IWICImagingFactory;
Decoder: IWICBitmapDecoder;
Frame: IWICBitmapFrameDecode;
Converter: IWICFormatConverter;