mrDarker
7 天以前 829fe6c6bc33d53fda9c31fd45a37e1df87befff
SourceCode/Bond/Servo/MsgDlg.cpp
@@ -22,6 +22,7 @@
   m_crTitle = CR_MSGBOX_TITLE;
   m_crMessage = CR_MSGBOX_MESSAGE;
   m_nIcon = MSG_BOX_TIP;
   m_bDelayClose = FALSE;
}
CMsgDlg::CMsgDlg(CString strTitle, CString strMessage)
@@ -169,7 +170,10 @@
void CMsgDlg::DelayClose(int nDelay)
{
   SetTimer(1, nDelay, NULL);
   if (!m_bDelayClose) {
      m_bDelayClose = TRUE;
      SetTimer(1, nDelay, NULL);
   }
}
void CMsgDlg::ShowCloseButton(BOOL bVisible)