- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
好吧,刚刚发现使用 DEFAULT_GUI_FONT
实际上用作默认 GUI 字体是错误的....有一个 NONCLIENTMETRICS我被告知要使用的结构,但我不确定我应该使用哪种返回的字体——即状态字体、消息字体和标题字体之间有什么区别,我应该什么时候使用它们?
最佳答案
描述的很清楚,不是吗?
lfMenuFont A pointer to a LOGFONT structure that contains information about the font used in menu bars.
lfStatusFont A pointer to a LOGFONT structure that contains information about the font used in status bars and tooltips.
lfMessageFont A pointer to a LOGFONT structure that contains information about the font used in message boxes.
下拉菜单使用菜单字体,状态行使用状态字体,消息框使用消息字体。
编辑:不幸的是,lfCaptionFont 和 lfSmCaptionFont 的描述是自引用的:
lfCaptionFont A pointer to a LOGFONT structure that contains information about the caption font.
窗口的标题是客户区上方的矩形,其中显示了窗口标题和关闭按钮。这使用标题字体。消息字体用于消息框。
关于c++ - 在 NONCLIENTMETRICS 中,状态字体、消息字体和标题字体之间有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4581606/
好吧,刚刚发现使用 DEFAULT_GUI_FONT 实际上用作默认 GUI 字体是错误的....有一个 NONCLIENTMETRICS我被告知要使用的结构,但我不确定我应该使用哪种返回的字体——即
我是一名优秀的程序员,十分优秀!