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

Method OnFileLoadConfiguration

DebugView++/MainFrame.cpp:1034–1042  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1032}
1033
1034void CMainFrame::OnFileLoadConfiguration(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/)
1035{
1036 CFileDialog dlg(true, L".dbconf", m_configFileName.c_str(), OFN_FILEMUSTEXIST | OFN_HIDEREADONLY,
1037 L"DebugView++ Configuration Files (*.dbconf)\0*.dbconf\0\0");
1038 dlg.m_ofn.nFilterIndex = 0;
1039 dlg.m_ofn.lpstrTitle = L"Load View Configuration";
1040 if (dlg.DoModal() == IDOK)
1041 LoadConfiguration(dlg.m_szFileName);
1042}
1043
1044void CMainFrame::OnFileSaveConfiguration(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/)
1045{

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected