📄 wpw_wapi_color_95.html
字号:
<HTML>
<HR><A NAME=WINAPI_Color_opposite>
Return to <a href="wpw_wapi_index.html#TOC">Table of Contents for this chapter</a><br>
<H4>Subject: How to find the opposite color?</H4><PRE>
Dejan Jacic <djacic@mamef> wrote:
<snip>
>I have a grid-like window for which I'm drawing grid lines. This
>works really fine on my computer (i.e. mine choice of default background
>color in Control Panel). But, when friend of mine started it, he couldn't
>see the grids, because grids were gray and he uses gray background as
>a default.
Take a look-see at the SetROP2 function - perhaps drawing with a white pen
in R2_XORPEN perhaps, or R2_NOTMERGEPEN. I believe Petzold has some stuff
on this.
cps
</PRE>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -