version 1.4, 2014/03/25 20:10:51 |
version 1.5, 2014/05/13 20:07:23 |
Line 162 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; |
|
} |
} |
} |
} |
|
|