I have an application which does not show disabled Icons in an TAdvGlowButton when compiling for WIN64.
If I start the application from the IDE sometimes an access violation (c0000005 ACCESS_VIOLATION) occurs at runtime when displaying a disabled TAdvGlowButton when compiling for WIN64. After pressing 'Continue' the icon from the TAdvGlowButton is missing and is not displayed grayed out.
Call stack seems to be:
DrawVistaButton
DrawDisabledImage
ImageList_DrawIndirect
At design time the icons are displayed grayed out correctly .
'Enable runtime themes' ist checked in the Project Options for WIN64.
A VCL TSpeedbutton does not show this behaviour.
Icons (16x16) are stored in an TImageList. TAdvGlowButtons (25x25, no caption) are placed on a TAdvPanel with an attached TAdvPanelStyler, Style is Office2007Obsidian.
The project was converted from D5 using the TMS Component Pack to D11 and VCL UI Pack.
In WIN32 everything works as expected.
Versions used:
Delphi 11.2
VCL UI Pack: 12.1.0.2
TAdvGlowButton: 2.7.3.4
Any hints what could causing the Icons not displayed correctly in disabled TAdvGlowButtons when vompiling for WIN64?
Thanks in advance