| 190 | } |
| 191 | |
| 192 | void TableFileFilter::OnFileSaveAs() { |
| 193 | // TODO: Add your command handler code here |
| 194 | CString filters = "Page Data List File (*.pdl)|*.pdl|All Files (*.*)|*.*||"; |
| 195 | |
| 196 | CFileDialog dlg_open(FALSE, ".pdl", NULL, 0, (LPCTSTR)filters, this); |
| 197 | if (dlg_open.DoModal() == IDCANCEL) { |
| 198 | return; |
| 199 | } |
| 200 | |
| 201 | CWaitCursor wc; |
| 202 | if (!m_PageList.SaveList(dlg_open.GetPathName().GetBuffer(0))) { |
| 203 | MessageBox("The save was unsuccessfull", "Save Data List Error!"); |
| 204 | return; |
| 205 | } |
| 206 | |
| 207 | m_PageList.SetTitleString(); |
| 208 | } |
| 209 | |
| 210 | void TableFileFilter::OnFileLoad() { |
| 211 | // TODO: Add your command handler code here |
nothing calls this directly
no test coverage detected