!!画刷Cbrush是否能做成透明? 现在只能用Cbrush类了,但搜遍资料也没发现他能做成透明,请问这个类是否有这个功能? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 // Initialize a LOGBRUSH structure.LOGBRUSH logBrush;logBrush.lbStyle = BS_NULL;//BS_NULL is same as BS_HOLLOW// Declare an uninitialized CBrush ...CBrush brush;// ... and initialize it with the LOGBRUSH.brush.CreateBrushIndirect(&logBrush); 楼上的动作好快.同意,在loStyle中设置BS_NULL LOGBRUSH logbr; memset(&logbr , 0 , sizeof(LOGBRUSH)); logbr.lbColor = RGB(255,0,0);//这里改变位图背景 logbr.lbStyle = BS_NULL; HBRUSH hBrush = CreateBrushIndirect(&logbr); HBRUSH oldbr = (HBRUSH)SelectObject(dcMem , hBrush);..... pDC->SelectStockObject(NULL_BRUSH); 路由器与网站访问之间的关系 关于WM_ONCTLCOLORLISTBOX消息,求解? Windows进程列表更改消息 VC++如何删除ftp上的文件? winsock 函数listen和accept的迷惑 用什么软件可以看见一个.exe文件里所用的函数??? 对话框 大家谁能介绍一本关于VC的好书(我是个初学者) 谁知道哪有----内存优化整理的原代码(一定给分) 高程枪手居然一次赚10k RMB ????????? 关于内存不断增大-使用问题? 关于调整麦克风音量的问题
LOGBRUSH logBrush;
logBrush.lbStyle = BS_NULL;//BS_NULL is same as BS_HOLLOW// Declare an uninitialized CBrush ...
CBrush brush;
// ... and initialize it with the LOGBRUSH.
brush.CreateBrushIndirect(&logBrush);