问题
How to change background color of SelectDirBitmapImage
and SelectGroupBitmapImage
in Inno Setup?
回答1:
Hardly. Both those are icons with a transparent background from shell32.dll
painted on the TBitmapImage
using SelectDirPage.Color
and SelectProgramGroupPage.Color
long before any use code is triggered. It cannot be updated. You would have to repeat all the painting code in your Pascal Script. It's probably doable, but lot of work.
The relevant code is in LoadSelectDirAndGroupImages
function:
https://github.com/jrsoftware/issrc/blob/is-6_0_4-2/Projects/Wizard.pas#L752-L781
来源:https://stackoverflow.com/questions/61083816/how-to-change-background-color-of-selectdirbitmapimage-and-selectgroupbitmapimag