In Lazarus, please disable the "Windows themes support" option by: 1. In IDE, click on the menu "Project" - "Project Options". 2. Uncheck the option "Use manifest file to enable themes (windows only)".