Page 1 of 1

Visual glitches with dark VCL Styles

Posted: Thu Apr 16, 2020 3:20 pm
by Anse
Hello,

activating a darker VCL Style in Delphi seems partly supported by madExcept, but makes various buttons and other controls unreadable.
See a following screen:

Image

I already include parts of the VCL Styles Utils project, but these seem to make it even worse. Not sure - is there a way to disable styles entirely in the exception handler?

Kind regards,
Anse

Re: Visual glitches with dark VCL Styles

Posted: Mon Apr 20, 2020 8:28 am
by madshi
Eugh, that looks ugly. All the madExcept windows do not use VCL at all. So I'm not sure why the VCL styles affect the madExcept windows? On the VCL Styles Utils project, I can see they use API hooking. That could be problematic, I guess. Is there a way to tell the VCL Styles logic to exclude some windows or some threads?

Re: Visual glitches with dark VCL Styles

Posted: Thu Jun 04, 2020 5:43 am
by Anse
Sorry for the late reply, got no notification and forgot about the thread.

So, I just see there is a promising LimitStylesToCurrentProcess directive in the newest changes of VCL styles utils, which I will test. See the commit from
https://github.com/RRUZ/vcl-styles-util ... edccc2b0e1

Re: Visual glitches with dark VCL Styles

Posted: Thu Jun 04, 2020 6:04 am
by Anse
Defintely better with that LimitStylesToCurrentProcess activated

Re: Visual glitches with dark VCL Styles

Posted: Thu Jun 04, 2020 8:52 am
by madshi
Nice find! :D