摘要:
1.通过HDC加载//载入位图HBITMAP hBitmap;hBitmap = (HBITMAP)LoadImage(NULL, "test.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);HDC hdcImage;HDC hdc;BITMAP bm;lpBackBuffer->Restore();hdcImage = CreateCompatibleDC(NULL);SelectObject(hdcImage, hBitmap);GetObject(hBitmap, sizeof(bm), &bm);lpBackBuf 阅读全文