在nsis安装程序中设置自定义对话框页面上添加的自定义标签的字体 [英] set the font of a custom label added on a custom dialog page in nsis installer
本文介绍了在nsis安装程序中设置自定义对话框页面上添加的自定义标签的字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在nsis安装程序中设置添加在自定义添加页面上的标签的字体
how to set the font of a label added on a custom added page in nsis installer
要创建标签,我使用了这个:
To create the label i have used this :
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
这篇关于在nsis安装程序中设置自定义对话框页面上添加的自定义标签的字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文