整个MDI应用中的通用字体. [英] Generic Font throughout the MDI applicatiion.

查看:90
本文介绍了整个MDI应用中的通用字体.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个用VC7开发的MDI应用程序.它有很多对话框和子窗口.
我需要跨对话框,窗口等在整个应用程序中使用通用字体,
有什么机制可以做到这一点?还是我必须为每个实体手动设置字体? >
对于对话框,使用文本编辑器编辑.rc文件并快速更改字体名称和大小非常简单.对于其他窗口,您将必须手动设置.

注意:可以通过编程方式设置某些系统字体,但是未经用户同意,请勿执行此操作.


Hi,

I have an MDI application developed in VC7. It has lots of dialogs and child windows.
I need to have a common font throughout the application across dialogs, windows etc.,
Is there any mechanism to achieve this? Or do i have to manually set font for each entity?

解决方案

"I need to have a common font throughout the application across dialogs, windows etc."

For dialogs, it is simple to edit the .rc file with a text editor and quickly change the font name and size. For other windows, you will have to set manually.

Note: It is possible to set certain system fonts programmatically, but this should not be done without the user''s consent.


这篇关于整个MDI应用中的通用字体.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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