Another weird glitch with VCL styles:
Changing a form’s Icon updates only its taskbar button, the Icon in the caption doesn’t update unless you use RecreateWnd. (when using VCL styles)
ImageList3.GetIcon(0,Form1.Icon);
Is there a way to fix it without having to use RecreateWnd? (which can actually create other issues)
It’s (yet another) bug in VCL styles. The
TFormStyleHook.GetIconFastfunction is returning a stale icon handle. I’d fix it by replacingTFormStyleHook.GetIconFastwithTFormStyleHook.GetIcon. Add this to one of your units and all is well again.