![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vc
lantian22
这个作者很懒,什么都没留下…
展开
-
Cstatic背景透明
为对话框添加事件处理方法OnCtlColor HBRUSH LogIn::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor){ HBRUSH hbr=CDialog::OnCtlColor(pDC,pWnd,nCtlColor); if (nCtlColor == CTLCOLOR_STATIC ) { pDC->S原创 2009-12-01 16:56:00 · 2197 阅读 · 0 评论 -
mfc: from 'LPCSTR' to 'LPCWSTR'
from LPCSTR to LPCWSTRfaceName->*bufint Len=::MultiByteToWideChar (CP_ACP, 0, faceName, -1, NULL, 0);LPWSTR *buf=new LPWSTR [Len];MultiByteToWideChar(CP_ACP,0,faceName,-1,*buf,Len);翻译 2010-01-07 16:01:00 · 896 阅读 · 0 评论