MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / OnFileSaveLog

Method OnFileSaveLog

DebugView++/MainFrame.cpp:1012–1021  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1010}
1011
1012void 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
1023void CMainFrame::OnFileSaveView(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/)
1024{

Callers

nothing calls this directly

Calls 2

SaveLogFileFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected