Visual glitches with dark VCL Styles

delphi package - automated exception handling

Visual glitches with dark VCL Styles

Postby Anse » Thu Apr 16, 2020 3:20 pm

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

Re: Visual glitches with dark VCL Styles

Postby madshi » Mon Apr 20, 2020 8:28 am

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

Re: Visual glitches with dark VCL Styles

Postby Anse » Thu Jun 04, 2020 5:43 am

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: 6
Joined: Thu Apr 16, 2020 3:12 pm

Re: Visual glitches with dark VCL Styles

Postby Anse » Thu Jun 04, 2020 6:04 am

Defintely better with that LimitStylesToCurrentProcess activated
Attachments
madexcept-styles-window-fixed.png
madexcept-styles-window-fixed.png (97.89 KiB) Viewed 1479 times
Anse
 
Posts: 6
Joined: Thu Apr 16, 2020 3:12 pm

Re: Visual glitches with dark VCL Styles

Postby madshi » Thu Jun 04, 2020 8:52 am

Nice find! :D
madshi
Site Admin
 
Posts: 10274
Joined: Sun Mar 21, 2004 5:25 pm


Return to madExcept

Who is online

Users browsing this forum: Han312 and 36 guests

cron