| 1021 | } |
| 1022 | |
| 1023 | void CMainFrame::OnFileSaveView(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/) |
| 1024 | { |
| 1025 | CFileDialog dlg(false, L".dblog", m_txtFileName.c_str(), OFN_OVERWRITEPROMPT, |
| 1026 | L"DebugView++ Log Files (*.dblog)\0*.dblog\0" |
| 1027 | L"All Files (*.*)\0*.*\0\0"); |
| 1028 | dlg.m_ofn.nFilterIndex = 0; |
| 1029 | dlg.m_ofn.lpstrTitle = L"Save the messages in the current view"; |
| 1030 | if (dlg.DoModal() == IDOK) |
| 1031 | SaveViewFile(dlg.m_szFileName); |
| 1032 | } |
| 1033 | |
| 1034 | void CMainFrame::OnFileLoadConfiguration(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/) |
| 1035 | { |