| 1032 | } |
| 1033 | |
| 1034 | void 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 | |
| 1044 | void CMainFrame::OnFileSaveConfiguration(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/) |
| 1045 | { |