步骤续对控件~编写代码-mfc课程设计

步骤5续:对控件0~9编写代码//以下是消息处理函数,用以响应消息映射void CMyCalDlg ::On0() //处理“ 0”按钮{ // TODO: Add your control notification handler code here OnOperandInput(0); } void CMyCalDlg::On1() //处理“ 1”按钮// TODO: Add your control notification handler code here OnOperandInput(1); }注意:处理“0~9”按钮的代码都类同。方法为:进入类向导中,单击“Edit code”按钮,直接进入函数体编辑或手动进入(MyCalDlg.cpp : implementation file)编辑
ppt 文件大小:5.32MB