source code


SUBMITTED BY: Guest

DATE: June 23, 2014, 8:44 a.m.

FORMAT: C++

SIZE: 328 Bytes

HITS: 796

  1. void CFlatnessGraphView::UpdateView()
  2. {
  3. m_bUpdated = TRUE;
  4. CFrameWnd* pFrame = ((CMainFrame*) AfxGetMainWnd())->GetActiveFrame();
  5. if ( pFrame == NULL )
  6. return;
  7. CView* pView = pFrame->GetActiveView();
  8. if ( pView == this )
  9. {
  10. m_bUpdated = FALSE;
  11. ShowGraph();
  12. }
  13. }

comments powered by Disqus