摘要: 1.显示位图步骤:(1)创建位图: 两种方法1.加载已有位图;2.CreateCompatibleBitmap (2)创建兼容DC (3)将位图选入兼容DC (4)将兼容DC中的位图复制到当前DC中void CMy0406View::OnPaint() { CPaintDC dc(this); // device context for painting // TODO: Add your message handler code here CBitmap bmp; bmp.LoadBitmap(IDB_BITMAP1); CDC dcCompatible... 阅读全文
posted @ 2012-04-06 10:09 shiney 阅读(426) 评论(0) 推荐(0) 编辑