2

如何在 nsis 安装程序中设置自定义添加页面上添加的标签的字体

要创建我使用的标签:

    nsDialogs::Create 1018

var Label

${NSD_CreateLabel} 0 0 100% 32u "PLEASE CHOOSE WHAT DO YOU WANT TO INSTALL:"
Pop $Label
4

1 答案 1

6
!include nsDialogs.nsh
var Label
page custom pre
function pre
nsDialogs::Create 1018

${NSD_CreateLabel} 0 0 100% 32u "PLEASE CHOOSE WHAT DO YOU WANT TO INSTALL:"
Pop $Label
CreateFont $0 "Arial" 18
SendMessage $Label ${WM_SETFONT} $0 1

nsDialogs::Show
functionend
于 2011-05-05T10:46:55.947 回答