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

Method OnDeleteTab

DebugView++/MainFrame.cpp:783–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

781}
782
783LRESULT CMainFrame::OnDeleteTab(NMHDR* pnmh)
784{
785 auto& nmhdr = *reinterpret_cast<NMCTCITEM*>(pnmh);
786
787 if (nmhdr.iItem >= 0 && nmhdr.iItem < GetViewCount())
788 GetView(nmhdr.iItem).DestroyWindow();
789
790 return FALSE;
791}
792
793void CMainFrame::OnFileNewTab(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/)
794{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected