void SceneListView::OnPaint()
{
CPaintDC dc(this); // device context for painting
CBitmap m_Bitmap;
if(!m_Bitmap.LoadBitmap(this->nPicId))
{
AfxMessageBox(TEXT("HELLO"));
}
CDC MemDC;
MemDC.CreateCompatibleDC(&dc);
MemDC.SelectObject(&m_Bitmap);
BITMAP mBmp;
m_Bitmap.GetBitmap(&mBmp);
dc.BitBlt(0, 0, mBmp.bmWidth, mBmp.bmHeight, &MemDC, 0, 0, SRCCOPY);
DeleteObject(&mBmp);
DeleteObject(&m_Bitmap);
MemDC.DeleteDC();
}