赞助

VC如何让窗口半透明

转载:http://blog.csdn.net/bichenggui/article/details/8291946

 

1 //加入WS_EX_LAYERED扩展属性
2     LONG styleValue = ::GetWindowLong(m_hWnd, GWL_EXSTYLE); 
3 
4     styleValue |= WS_EX_LAYERED; 
5 
6     SetWindowLong(m_hWnd,GWL_EXSTYLE,styleValue);

 

posted @ 2016-07-18 10:33  车臣  阅读(916)  评论(0编辑  收藏  举报