Bitmap类里有个FromHBITMAP函数,可以将HBITMAP转换为m_pBitmap.
m_pBitmap = Bitmap::FromHBITMAP(bmpWidnow.m_hBitmap, NULL);