[BACK]Return to MainFrm.cpp CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / windows / engine2000

Diff for /OpenXM_contrib2/windows/engine2000/MainFrm.cpp between version 1.2 and 1.5

version 1.2, 2002/07/30 03:06:20 version 1.5, 2014/05/13 20:07:23
Line 6 
Line 6 
   
 #include "MainFrm.h"  #include "MainFrm.h"
   
   #include "gmpxx.h"
 extern "C" {  extern "C" {
 #include "ca.h"  #include "ca.h"
 #include "ifplot.h"  #include "ifplot.h"
Line 145  void CMainFrame::OnClose() 
Line 146  void CMainFrame::OnClose() 
 {  {
         // TODO: この位置にメッセージ ハンドラ用のコードを追加するかまたはデフォルトの処理を呼び出してください          // TODO: この位置にメッセージ ハンドラ用のコードを追加するかまたはデフォルトの処理を呼び出してください
         m_wndView.DestroyCanvas();          m_wndView.DestroyCanvas();
 //      CFrameWnd::OnClose();          CFrameWnd::OnClose();
 }  }
   
 void CMainFrame::OnAppExit()  void CMainFrame::OnAppExit()
Line 161  void CMainFrame::OnUpdateProgress(CCmdUI *pCmdUI)
Line 162  void CMainFrame::OnUpdateProgress(CCmdUI *pCmdUI)
   
         if ( !m_wndView.can )          if ( !m_wndView.can )
                 return;                  return;
         switch ( mode = m_wndView.can->mode ) {  
                 case MODE_IFPLOT: case MODE_CONPLOT:          mode = m_wndView.can->mode;
           if (mode == modeNO(IFPLOT) || mode == modeNO(CONPLOT)) {
                         pCmdUI->Enable();                          pCmdUI->Enable();
                         strProgress.Format("%s%d%%",m_wndView.can->prefix,m_wndView.can->percentage);                          strProgress.Format("%s%d%%",m_wndView.can->prefix,m_wndView.can->percentage);
                         pCmdUI->SetText(strProgress);                          pCmdUI->SetText(strProgress);
                         break;  
                 default:  
                         break;  
         }          }
 }  }
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.5

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>