MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / SetModifiedMark

Method SetModifiedMark

DebugView++/MainFrame.cpp:766–774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

764}
765
766void 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
776LRESULT CMainFrame::OnCloseTab(NMHDR* pnmh)
777{

Callers

nothing calls this directly

Calls 3

SetTextMethod · 0.80
GetNameMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected