| 272 | } |
| 273 | |
| 274 | void TableFileFilter::OnBtnAddPage() { |
| 275 | // TODO: Add your control notification handler code here |
| 276 | CTableFileFilterAddDlg dlg; |
| 277 | |
| 278 | int nResponse = dlg.DoModal(); |
| 279 | if (nResponse == IDCANCEL) { |
| 280 | // TODO: Place code here to handle when the dialog is |
| 281 | // dismissed with Cancel |
| 282 | return; |
| 283 | } |
| 284 | |
| 285 | // Add the new page to the list |
| 286 | if (dlg.page_name.IsEmpty()) |
| 287 | return; |
| 288 | |
| 289 | if (!m_PageList.AddPageFromUser(dlg.page_name.GetBuffer(0), dlg.page_type)) |
| 290 | MessageBox("This page was not added!", "Page Add Error!"); |
| 291 | |
| 292 | m_PageList.SetTitleString(); |
| 293 | } |
| 294 | |
| 295 | void TableFileFilter::OnBtnCreateNewTableFile() { |
| 296 | // TODO: Add your control notification handler code here |
nothing calls this directly
no test coverage detected