subject_49231.htm

来自「vc」· HTM 代码 · 共 18 行

HTM
18
字号
<p>
序号:49231 发表者:zgt 发表日期:2003-08-08 02:02:10
<br>主题:如何得到系统默认窗口颜色。
<br>内容:我使用了CFormView 定义视图,但在不同系统中其颜色不同(),不全为RGB(192,192,192)<BR>而我在他上面用的CRichEditCtrl 类的对象,是我直接给出的RGB(192,192,192),这样在有的系统中他们的颜色不同,很难看。<BR>如何将他们的颜色统一起来呢??如何取出系统默认的CFormView 对象的颜色呢?各位大侠帮忙,小弟谢了!!!
<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>回复者:VChen 回复日期:2003-08-08 21:50:19
<br>内容:The GetSysColor function retrieves the current color of the specified display element. Display elements are the parts of a window and the display that appear on the system display screen. 
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:zgt 回复日期:2003-08-09 06:32:39
<br>内容:thank you Mr Willis,you answer is so good.
<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 + -
显示快捷键?