CBitmap bmp;
CClientDC dc(this);
if(bmp.LoadBitmap(IDB_BITMAP_dw))
{
BITMAP bmpInfo;
bmp.GetBitmap(&bmpInfo);
bmp.GetBitmap(&bmpInfo);
CDC dcMemory;
dcMemory.CreateCompatibleDC(&dc);
dcMemory.CreateCompatibleDC(&dc);
CBitmap* pOldBitmap =dcMemory.SelectObject(&bmp);