如何在OnDraw()里面设置背景颜色??
解决方案 »
- CAD的二次开发
- 我写了一个IE的ToolBar 在上面放了两个按钮. 按钮样式 : 左边图片 右边文字. 按钮B 总是显示在按钮A 的下面, 也就是按钮B 显示不出来. 要
- MFC可否使用某函数关闭自身的进程?
- 求vc6下载地址?不要创天中文版
- 很简单的问题,为什么我的vc里边没有GetModuleFileNameEx()这个函数
- 如何在SetItemState()设置选项以去掉列表框中某项的选择 。
- 我真的想大哭一场。。
- 用atl开发office addin时是否可以自动完成编码的转换成unicode
- === giflib 在 windows 下问题 ===
- 如何用MFC解决向导问题?
- 在线求助:画切圆
- 高手们请指路
GetClientRect(&rect);
pDC->FillSolidRect(&rect,m_clrBkcolor);Fill the client rect using the background color.You could then do the drawing
operations.
pDC->SetBkColor() could set the text's background color.Are there what you want?I don't know your problems quite clearly!
CRect rect;
GetClientRect(&rect);
pDC->FillSolidRect(&rect,m_clrBkcolor);
不是text的不过你说的这个可以实现