How to change background color of SelectDirBitmapImage and SelectGroupBitmapImage in Inno Setup

╄→尐↘猪︶ㄣ 提交于 2020-06-13 05:52:07

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!