[英]set the font of a custom label added on a custom dialog page in nsis installer
how to set the font of a label added on a custom added page in nsis installer如何设置在 nsis 安装程序的自定义添加页面上添加的 label 的字体
To create the label i have used this:为了创建 label,我使用了这个:
nsDialogs::Create 1018
var Label
${NSD_CreateLabel} 0 0 100% 32u "PLEASE CHOOSE WHAT DO YOU WANT TO INSTALL:"
Pop $Label
!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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.