摘要:
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... 阅读全文