MFC picture控件动态显示图片
CStatic * pSat = (CStatic*)GetDlgItem(IDC_PICTURE); HBITMAP hBitmap = ::LoadBitmap(AfxGetApp()-> m_hInstance, MAKEINTRESOURCE(图片ID)); pSat-> SetBitmap(hBitmap);
CStatic * pSat = (CStatic*)GetDlgItem(IDC_PICTURE); HBITMAP hBitmap = ::LoadBitmap(AfxGetApp()-> m_hInstance, MAKEINTRESOURCE(图片ID)); pSat-> SetBitmap(hBitmap);