| 1010 | } |
| 1011 | |
| 1012 | void CMainFrame::OnFileSaveLog(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/) |
| 1013 | { |
| 1014 | CFileDialog dlg(false, L".dblog", m_logFileName.c_str(), OFN_OVERWRITEPROMPT, |
| 1015 | L"DebugView++ Log Files (*.dblog)\0*.dblog\0" |
| 1016 | L"All Files (*.*)\0*.*\0\0", 0); |
| 1017 | dlg.m_ofn.nFilterIndex = 0; |
| 1018 | dlg.m_ofn.lpstrTitle = L"Save all messages in memory buffer"; |
| 1019 | if (dlg.DoModal() == IDOK) |
| 1020 | SaveLogFile(dlg.m_szFileName); |
| 1021 | } |
| 1022 | |
| 1023 | void CMainFrame::OnFileSaveView(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/) |
| 1024 | { |
nothing calls this directly
no test coverage detected