chenluhua1980
2026-01-14 02a406fb7e3d635dca0ef87914fee54c7fd6bd3c
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)