找出Inno Setup WizardForm标题的字体大小,字体名称和字体颜色,并将WizardForm标题居中 [英] Finding out Inno Setup WizardForm Caption Font Size, Font Name and Font Color and Center the WizardForm Caption

查看:349
本文介绍了找出Inno Setup WizardForm标题的字体大小,字体名称和字体颜色,并将WizardForm标题居中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要找到什么是Inno Setup WizardForm.CaptionFont.ColorFont.SizeFont.Name,以便使用GetTextExtentPoint32获取其(它是字符串)扩展点.

I need to find what is the Font.Color , Font.Size and Font.Name of Inno Setup WizardForm.Caption to get its (It is a String) Extent Point using GetTextExtentPoint32.

请让我知道如何找到WizardForm的以上属性. (不是系统字体属性).我想根据我正在使用的.cjstyles皮肤获取WizardForm的当前字体信息.

Please let me know how can I find the above properties of WizardForm. (Not the System Font Properties). I want to get current Font Information of WizardForm according to the .cjstyles Skin I am using.

我还想知道知道这些字体信息后,如何使用Pascal Script将向导窗口标题居中.

And I also like to know how to center Wizard Window Title using Pascal Script after knowing those font information.

预先感谢.

推荐答案

我认为这是不可能的.

窗口标题是由ISSkin DLL自定义绘制的.因此Windows不知道字体大小,因此您不能使用Windows API.

The window title is custom-drawn by the ISSkin DLL. So Windows does not know the font size, hence you cannot use Windows API.

而且ISSkin不会导出任何功能来检索此信息.

And ISSkin does not export any function to retrieve this information.

这篇关于找出Inno Setup WizardForm标题的字体大小,字体名称和字体颜色,并将WizardForm标题居中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆