我想改变背景颜色
在OnDraw()中加了一行pDC->SetBkColor(RGB(255,0,0));
为什么不行?
SetBkColor()要怎么使用才行?
谢谢!ps:不用画刷,想知道SetBkColor的使用方法。
在OnDraw()中加了一行pDC->SetBkColor(RGB(255,0,0));
为什么不行?
SetBkColor()要怎么使用才行?
谢谢!ps:不用画刷,想知道SetBkColor的使用方法。
解决方案 »
- 在线询问:VS2010 生成的程序为什么会依赖Microsoft.VC90.DebugCRT库呢?
- MFC工作线程里面问题
- ISAPI 怎麽返回jpg圖片?
- 我编的ocx在ie5中打不开,但在同样的机子装了ie6就能成功,可能是啥原因呢?
- 怎么使用函数指针?
- #include "..\..\file.h" 怎么设置相对路径?
- 如何得到CRichEditCtrl控件中的可见的最末行的序号。
- 大家好,我在使用active skin的时候不知道如何给对话框切换不同的皮肤,请指教.
- 如何发送字符串
- 救急!如何在一条语句中同时操作两个数据库?
- Win32 API将被谁,何时取代?
- 不是很清楚MFC,请大家帮忙:如果是这样一个语句,如果想放到一个窗口中,应该怎么实现?
This function fills the gaps between styled lines drawn using a pen created by the CreatePen function. The SetBKColor function also sets the background colors for the ExtTextOut function.If the background mode is OPAQUE, the background color is used to fill gaps between styled lines, gaps between hatched lines in brushes, and character cells. The background color is also used when converting bitmaps from color to monochrome and vice versa.