![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CodeProject上的经验
文章平均质量分 76
Linux菜_鸟
努力学习Linux中
展开
-
CodeProject上的一些摘抄
1.问题:控件只读但不要背景变灰。 解决方案:(1)重载控件的WM_CTLCOLOR消息响应(ON_WM_CTLCOLOR_REFLECT())HBRUSH CReadOnlyEdit::CtlColor(CDC* pDC, UINT nCtlColor) { // TODO: Return a non-NULL brush if the paren原创 2014-01-15 19:09:21 · 773 阅读 · 0 评论 -
What static_cast<> is actually doing
IntroductionMost programmers learn C before C++, and get used to C style casting. When writing C++, sometimes we may be confused about when to use static_cast and when to use reinterpret_cast. I转载 2014-01-15 19:57:58 · 777 阅读 · 0 评论