请教一个简单的问题,为何使用BilBlt不能显示24位位图?
PicDC.CreateCompatibleDC(pDC); hBitmap = CreateBitmap( pPicInfo->BmpInfoHeader.biWidth, pPicInfo->BmpInfoHeader.biHeight, pPicInfo->BmpInfoHeader.biPlanes,pPicInfo->BmpInfoHeader.biBitCount,pPicInfo->PicData); if(NULL == hBitmap) MessageBox(L"Create hBitmap object Fail!",NULL,MB_OK); PicDC.SelectObject(hBitmap); pDC->BitBlt(10,10,pPicInfo->BmpInfoHeader.biWidth,pPicInfo->BmpInfoHeader.biHeight,&PicDC,0,0,SRCCOPY); DeleteObject(hBitmap); PicDC.DeleteDC();