怎么改变MFC视类窗口的背景图片
2个回答
展开全部
//绘制界面使用
CDCm_dcBuffer1, m_dcBuffer2;//临时缓冲
CBitmapm_bmTitle, m_bmBuffer;//图像
//初始化绘制界面资源
CClientDC dcScreen( this );
m_bmTitle.LoadBitmap(IDB_TITLE);
m_dcBuffer1.CreateCompatibleDC(&dcScreen);
m_dcBuffer2.CreateCompatibleDC(&dcScreen);
m_bmBuffer.CreateCompatibleBitmap( &dcScreen, WND_WIDTH, WND_HEIGHT );
//初始化绘制界面资源完成
CDCm_dcBuffer1, m_dcBuffer2;//临时缓冲
CBitmapm_bmTitle, m_bmBuffer;//图像
//初始化绘制界面资源
CClientDC dcScreen( this );
m_bmTitle.LoadBitmap(IDB_TITLE);
m_dcBuffer1.CreateCompatibleDC(&dcScreen);
m_dcBuffer2.CreateCompatibleDC(&dcScreen);
m_bmBuffer.CreateCompatibleBitmap( &dcScreen, WND_WIDTH, WND_HEIGHT );
//初始化绘制界面资源完成
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询