void CNDSSetKit::OnEnChangeEditSmartcardid()
{
CString str;
str.Format(_T("%d"), ii++);
if(ii==12)
{
if(GetID() == FALSE) return; 
                //其他........
}
}BOOL CNDSSetKit::GetChipID()
{
       if(........)
       {
            //弹出error
            AfxMessageBox("error!");
       }
}现在对话框总是不显示.单步调试主窗口就卡死无响应
AfxMessageBox不能这么用吗?