| 764 | } |
| 765 | |
| 766 | void CMainFrame::SetModifiedMark(int tabindex, bool modified) |
| 767 | { |
| 768 | auto name = GetView(tabindex).GetName(); |
| 769 | if (modified) |
| 770 | name += L"*"; |
| 771 | |
| 772 | // GetTabCtrl().GetItem(nmhdr.iItem2)->SetHighlighted(modified) |
| 773 | GetTabCtrl().GetItem(tabindex)->SetText(name.c_str()); |
| 774 | } |
| 775 | |
| 776 | LRESULT CMainFrame::OnCloseTab(NMHDR* pnmh) |
| 777 | { |