chenluhua1980
2025-11-17 baa611716d154307a9294fd3461eb9f2c9d317db
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)