在控件上画图时如下代码:
CWnd *pWnd = GetDlgItem(IDD_VGFH_DIALOG);
CDC  *pDC  = pWnd->GetDC();
pDC->MoveTo(-100, -50);
产生了一个运行时的指针错误。