I believe that it is not necessary to change text back to cancel as the loglist
thread is now terminated if necessary in OnCancel whatever its text.
\r
this->m_LogList.ShowText(temp, true);\r
\r
- // change the text of the close button to "Cancel" since now the thread\r
- // is running, and simply closing the dialog doesn't work.\r
- if (!GetDlgItem(IDOK)->IsWindowVisible())\r
- {\r
- temp.LoadString(IDS_MSGBOX_CANCEL);\r
- SetDlgItemText(IDCANCEL, temp);\r
- }\r
-\r
// We use a progress bar while getting the logs \r
m_LogProgress.SetRange32(0, 100);\r
m_LogProgress.SetPos(0);\r