OnInitDialog()
{
CDialog::OnInitDialog();
HBITMAP hBitMap = (HBITMAP)::LoadImage(0, FileName, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);
CStatic* m_picture = (CStatic *)GetDlgItem(IDC_QRIMAGE);
m_picture->ModifyStyle(0xF, SS_BITMAP, SWP_NOSIZE);
m_picture->SetBitmap(hBitMap);
}