Skip to content
The Road to Delphi — Delphi, VCL, VCL Styles, UxTheme and WinAPI

VCL Styles Utils supports RAD Studio 10.2 Tokyo

The new release of the VCL Styles Utils project now is compatible with RAD Studio 10.2 Tokyo .

This new version also improve the support for the Windows 10 custom Styles.

Check this TOpenDialog styled with the Windows 10 Black VCL Style.

W10Black

Rodrigo.

7 responses

  1. […] skins the TOpenDialog window and has lots of other features as well. Full source code on GitHub! . https://theroadtodelphi.com/2017/03/29/vcl-styles-utils-supports-rad-studio-10-2-tokyo/ . #Windows10 #Delphi […]

  2. Uwe Rupprecht Avatar
    Uwe Rupprecht

    Looks interesting, but i don’t get it to work on the Starter-Edition. It uses some include-files directly from the vcl-source folder, that isn’t shipped with the starter :(

    1. Hi Uwe, you can disable the use of the source files, modifying the unit https://github.com/RRUZ/vcl-styles-utils/blob/master/Common/Vcl.Styles.Ext.pas and commneting the line 29 ({$DEFINE USE_VCL_STYLESAPI}).

      1. Uwe Rupprecht Avatar
        Uwe Rupprecht

        I’ve tried this, but after that, most of the demos won’t work, because the TCustomStyleExt-Class is missing.

        I also have tried to comment out the lines 260-263, wich causes the core problem on the starter edition. But this
        results in a huge list of problems, due missing functions/classes.

  3. Bernard Bourguignon Avatar
    Bernard Bourguignon

    Hi Rodrigo,
    I use your nice units Vcl.Styles.Utils.Forms, Vcl.Styles.Utils.SysStyleHook,Vcl.Styles.Utils.SysControls , Vcl.Styles.Hooks they made possible to use TTaskDialog and it’s fine.
    But 3 weeks ago Windows 10 pro decided to make an update to change for Version 1703 and 2 of my applications created with Delphi 10.1 update 2 crash !
    On an over PC with no windows update they are still OK.
    I found the matter in the unit Vcl.Styles.UxTheme in the function Detour_UxTheme_OpenThemeDataForDPI(hwnd: HWND; pszClassList: LPCWSTR; hwnd2: HWND): HTHEME; stdcall;
    I don’t know why but this line crash : THThemesClasses.Add(Result, pszClassList); with result=0 and pszClassList=”;
    This append when I change property of classics objet : TRadioGroup(Componant).itemindex:=0 –> crash

    I drop out all référence to this units and my applications is OK.
    You can found sreen copy of default here : https://www.developpez.net/forums/d1695177/environnements-developpement/delphi/langage/plantage-suite-mise-jour-windows-10-a/
    I hope this can help you to solve this probleme.
    Best regard
    Bernard

    1. Hello Berrnard, this issue is related to the Windows 10 Creators Update and was fixed several weeks ago, for more info please check this https://github.com/RRUZ/vcl-styles-utils/issues/204
      or just use the most recent version of the library.

      1. Bernard Bourguignon Avatar
        Bernard Bourguignon

        Nice
        Many thanks

Leave a Reply