subject_14870.htm
来自「一些关于vc的问答」· HTM 代码 · 共 12 行
HTM
12 行
<p>
序号:14870 发表者:虞玮 发表日期:2002-09-12 10:33:30
<br>主题:请问如何改变CEdit控件里输出文字字体的大小?
<br>内容:我试过用SetFont函数,可字体大小一点都没有变化,各位请帮忙。
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:Aikoc 回复日期:2002-09-13 14:14:40
<br>内容: m_hFont = ::CreateFontIndirect(plf);<BR> ::SendMessage(GetSafeHwnd(),WM_SETFONT,(WPARAM)m_hFont,(LPARAM)TRUE);<BR><BR>OR<BR> if (m_Font.CreateFontIndirect(&lf))<BR> CStatic::SetFont(&m_Font); <BR><BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?