正在加载图片...
第16单元多文档界面程序 338 m nCurrWidth =15 void CMy 1603View: OnUpdateWidth1 (CCmdUIak pCmdUD) mdUl-Set Check(m nCurrWidth = 15) void CMy 1603View: On Width3o urI void CMy 1603View: OnUpdateWidth3(CCmdUI=* pCmdUI) pCmdUI->SetCheck(m nCurrWidth = 30) void CMy 1603View: On Width5O { m n CurrWidth 60 void CMy 1603View: OnUpdateWidth5(CCmdUI:* pCmdUI CmdUI->SetCheck(m nCurrWidth = 60) void CMy 1603View: OnWidth7o m nCurrWidth =120 void CMy 1603View:: OnUpdateWidth7(CCmdUI:* pCmdUI) pCmdUI->Set Check(m nCurrWidth = 120) void CMy 1603View:: On o CColorDialog dlg(m colorCurr) if(dlg DoModal( IDOK) m colorCurr dlg. GetColoro void CMy 1603View: OnLBut ton Down(UINT nFlags, CPoint point第 16 单元 多文档界面程序 338 m_nCurrWidth = 15; } void CMy1603View::OnUpdateWidth1(CCmdUI* pCmdUI) { pCmdUI->SetCheck(m_nCurrWidth == 15); } void CMy1603View::OnWidth3() { m_nCurrWidth = 30; } void CMy1603View::OnUpdateWidth3(CCmdUI* pCmdUI) { pCmdUI->SetCheck(m_nCurrWidth == 30); } void CMy1603View::OnWidth5() { m_nCurrWidth = 60; } void CMy1603View::OnUpdateWidth5(CCmdUI* pCmdUI) { pCmdUI->SetCheck(m_nCurrWidth == 60); } void CMy1603View::OnWidth7() { m_nCurrWidth = 120; } void CMy1603View::OnUpdateWidth7(CCmdUI* pCmdUI) { pCmdUI->SetCheck(m_nCurrWidth == 120); } void CMy1603View::OnColor() { CColorDialog dlg(m_colorCurr); if(dlg.DoModal() == IDOK) m_colorCurr = dlg.GetColor(); } void CMy1603View::OnLButtonDown(UINT nFlags, CPoint point) {
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有