最新消息:

显示Windows的About框

nsis 永恒心锁 1467浏览 0评论
; ShellAbout.nsi
;
;--------------------------------
; The name of the installer
Caption "NSIS ShellAbout API 演示"
; The file to write
OutFile "ShellAbout.exe"
; Request application privileges for Windows Vista
RequestExecutionLevel admin
;--------------------------------
; Pages
Page components ShellAbout
;--------------------------------
var tCaption
var tUser
var hIcon
Function ShellAbout
StrCpy $tCaption "NSIS ShellAbout API 演示"
StrCpy $tUser "pythonschool.com"
StrCpy $hIcon 0
;参数: 对话框父窗口句柄($HWNDPARENT) 窗口标题($tCaption) 作者($tUser) 图标句柄($hIcon)
System::Call `Shell32::ShellAboutA(i,t,t,i) i ($HWNDPARENT,"$tCaption","$tUser",$hIcon) .s`
FunctionEnd
Section -
SectionEnd
永恒心锁,版权所有丨如未注明,均为转载丨本网站采用BY-NC-SA协议进行授权

转载请注明:永恒心锁-分享互联网 » 显示Windows的About框

您必须 登录 才能发表评论!