MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / OnSetFocus

Method OnSetFocus

Source/FamiTrackerView.cpp:760–768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758}
759
760void CFamiTrackerView::OnSetFocus(CWnd* pOldWnd)
761{
762 CView::OnSetFocus(pOldWnd);
763 m_bHasFocus = true;
764 m_pPatternEditor->SetFocus(true);
765 CMainFrame *pMainFrm = static_cast<CMainFrame*>(GetParentFrame()); // // //
766 pMainFrm->GetFrameEditor()->CancelSelection();
767 InvalidateCursor();
768}
769
770void CFamiTrackerView::OnTimer(UINT_PTR nIDEvent)
771{

Callers

nothing calls this directly

Calls 3

SetFocusMethod · 0.80
CancelSelectionMethod · 0.45
GetFrameEditorMethod · 0.45

Tested by

no test coverage detected