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

Method CloseView

DebugView++/MainFrame.cpp:1298–1308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1296}
1297
1298void CMainFrame::CloseView(int i)
1299{
1300 int views = GetViewCount();
1301 if (i >= 0 && i < views)
1302 {
1303 GetTabCtrl().DeleteItem(i, false);
1304 GetTabCtrl().SetCurSel(i == views - 1 ? i - 1 : i);
1305 if (GetViewCount() == 1)
1306 HideTabControl();
1307 }
1308}
1309
1310void CMainFrame::OnViewFind(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/)
1311{

Callers

nothing calls this directly

Calls 1

DeleteItemMethod · 0.80

Tested by

no test coverage detected