如何在Inno Setup中更改SelectDirBitmapImage和SelectGroupBitmapImage的背景颜色

问题描述 投票:1回答:1

如何在Inno Setup中更改SelectDirBitmapImageSelectGroupBitmapImage的背景颜色?

enter image description here

installer inno-setup pascalscript
1个回答
0
投票

很难。两者都是在触发任何使用代码之前很久就使用shell32.dllTBitmapImageSelectDirPage.Color上绘制的具有SelectProgramGroupPage.Color透明背景的图标。无法更新。您将不得不在Pascal脚本中重复所有绘画代码。这可能是可行的,但需要大量工作。

相关代码在LoadSelectDirAndGroupImages功能中:https://github.com/jrsoftware/issrc/blob/is-6_0_4-2/Projects/Wizard.pas#L752-L781

© www.soinside.com 2019 - 2024. All rights reserved.