Mercurial > ecos
comparison host/tools/configtool/common/win32/CTCommonDoc.cpp @ 103:95f3e12a6327 ecos-sw-2000-06-23
Merge from eCos master repository on 2000-06-23-16:41:10-BST
| author | jlarmour |
|---|---|
| date | Fri, 23 Jun 2000 17:06:31 +0000 |
| parents | 6736c52df507 |
| children | 7f461c3a372c |
comparison
equal
deleted
inserted
replaced
| 102:6409b6d94dd7 | 103:95f3e12a6327 |
|---|---|
| 1707 } | 1707 } |
| 1708 } | 1708 } |
| 1709 | 1709 |
| 1710 void CConfigToolDoc::OnFileImport() | 1710 void CConfigToolDoc::OnFileImport() |
| 1711 { | 1711 { |
| 1712 CFileDialog dlg (TRUE, NULL, NULL, OFN_PATHMUSTEXIST | OFN_HIDEREADONLY, _T("eCos Minimal Configurations (*.ecm)|*.ecm||"), AfxGetMainWnd ()); | 1712 CFileDialog dlg (TRUE, _T("ecm"), NULL, OFN_PATHMUSTEXIST | OFN_HIDEREADONLY, _T("eCos Minimal Configurations (*.ecm)|*.ecm||"), AfxGetMainWnd ()); |
| 1713 TCHAR szBuffer [MAX_PATH * 16] = _T(""); | 1713 TCHAR szBuffer [MAX_PATH * 16] = _T(""); |
| 1714 dlg.m_ofn.lpstrFile = szBuffer; | 1714 dlg.m_ofn.lpstrFile = szBuffer; |
| 1715 dlg.m_ofn.nMaxFile = MAX_PATH * 16; | 1715 dlg.m_ofn.nMaxFile = MAX_PATH * 16; |
| 1716 dlg.m_ofn.lpstrTitle = _T("Import eCos Minimal Configuration"); | 1716 dlg.m_ofn.lpstrTitle = _T("Import eCos Minimal Configuration"); |
| 1717 if (IDOK == dlg.DoModal ()) { | 1717 if (IDOK == dlg.DoModal ()) { |
