如何使Inno Setup页面的底部透明? (提供了屏幕截图) [英] How to make the bottom part of Inno Setup pages transparent? (screenshot given)
本文介绍了如何使Inno Setup页面的底部透明? (提供了屏幕截图)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何制作这样的Inno Setup安装程序:
How can I make an Inno Setup installer like this:
我的意思是,我想使Inno Setup页面的底部像上图一样.
I mean, I want to make the bottom part of Inno Setup pages like the above image.
我应该使用哪种Pascal编码?
What Pascal coding should I use?
谢谢. :)
推荐答案
最简单的方法是获取互联网上的iswin7.dll
库,并将其与以下代码配合使用:
The simplest way is to obtain iswin7.dll
library from the internet and use it with following code:
[Files]
Source: ".\ISWin7.dll"; DestDir: "{tmp}"; Flags: dontcopy nocompression
[Code]
procedure iswin7_add_glass(Handle:HWND; Left, Top, Right, Bottom : Integer; GDIPLoadMode: boolean);
external 'iswin7_add_glass@files:iswin7.dll stdcall';
procedure iswin7_add_button(Handle:HWND);
external 'iswin7_add_button@files:iswin7.dll stdcall';
procedure iswin7_free;
external 'iswin7_free@files:iswin7.dll stdcall';
procedure InitializeWizard();
begin
iswin7_add_button(WizardForm.BackButton.Handle);
iswin7_add_button(WizardForm.NextButton.Handle);
iswin7_add_button(WizardForm.CancelButton.Handle);
iswin7_add_glass(WizardForm.Handle, 0, 0, 0, ScaleY(47), True);
end;
procedure DeinitializeSetup();
begin
iswin7_free;
end;
请记住,iswin7.dll
是非官方的.
这篇关于如何使Inno Setup页面的底部透明? (提供了屏幕截图)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文