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

Method FindProcess

DebugView++/LogView.cpp:1081–1095  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1079}
1080
1081bool CLogView::FindProcess(int direction)
1082{
1083 int begin = GetNextItem(-1, LVNI_FOCUSED);
1084 if (begin < 0)
1085 return false;
1086
1087 auto processName = m_logFile[m_logLines[begin].line].processName;
1088 int line = FindLine([processName, this](const LogLine& line) { return m_logFile[line.line].processName == processName; }, direction);
1089 if (line < 0 || line == begin)
1090 return false;
1091
1092 StopTracking();
1093 ScrollToIndex(line, true);
1094 return true;
1095}
1096
1097void CLogView::OnViewNextProcess(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/)
1098{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected