if you are trying to use a bitmap.following code may work
CBitmap* pBitmap;
pBitmap=new CBitmap();
pBitmap->LoadBitmap(IDB_BITMAP1);
CDC* pDC = m_PicCtrl.GetDC();
CRect rect;
m_PicCtrl.GetClientRect(rect);
CDC dc;
dc.CreateCompatibleDC(pDC);
dc.SelectObject(pBitmap);
pDC->BitBlt (0, 0, rect.Width(),rect.Height(), &dc,0, 0, SRCCOPY);
delete pBitmap;
pBitmap = 0;
use StretchBlt() instead of BitBlt() to adjust the size of image depending on the size of your picture control