Visual glitches with dark VCL Styles

delphi package - automated exception handling
Post Reply
Anse
Posts: 7
Joined: Thu Apr 16, 2020 3:12 pm
Contact:

Visual glitches with dark VCL Styles

Post 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
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Re: Visual glitches with dark VCL Styles

Post 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?
Anse
Posts: 7
Joined: Thu Apr 16, 2020 3:12 pm
Contact:

Re: Visual glitches with dark VCL Styles

Post 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
Anse
Posts: 7
Joined: Thu Apr 16, 2020 3:12 pm
Contact:

Re: Visual glitches with dark VCL Styles

Post by Anse »

Defintely better with that LimitStylesToCurrentProcess activated
Attachments
madexcept-styles-window-fixed.png
madexcept-styles-window-fixed.png (97.46 KiB) Viewed 5848 times
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Re: Visual glitches with dark VCL Styles

Post by madshi »

Nice find! :D
Post Reply