version 1.2, 2002/07/30 03:06:20 |
version 1.6, 2015/08/20 17:47:53 |
|
|
|
|
#include "stdafx.h" |
#include "stdafx.h" |
#include "ox_plot.h" |
#include "ox_plot.h" |
|
|
#include "MainFrm.h" |
#include "MainFrm.h" |
|
|
extern "C" { |
extern "C" { |
#include "ca.h" |
#include "if_canvas.h" |
#include "ifplot.h" |
|
} |
} |
|
|
|
|
#ifdef _DEBUG |
#ifdef _DEBUG |
#define new DEBUG_NEW |
#define new DEBUG_NEW |
#undef THIS_FILE |
#undef THIS_FILE |
Line 145 void CMainFrame::OnClose() |
|
Line 144 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 160 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: |
if ( canvas_is_ifplot(m_wndView.can) ) { |
pCmdUI->Enable(); |
pCmdUI->Enable(); |
strProgress.Format("%s%d%%",m_wndView.can->prefix,m_wndView.can->percentage); |
strProgress.Format("%s%d%%",canvas_prefix(m_wndView.can),canvas_percentage(m_wndView.can)); |
pCmdUI->SetText(strProgress); |
pCmdUI->SetText(strProgress); |
break; |
|
default: |
|
break; |
|
} |
} |
} |
} |
|
|