正在加载图片...
程序的实现步骤2 2.1 为视类添加数据成员为视类添加数据成员 int m nline ∥记录已输入字符行数 CString m strDisplay: ∥.存当前字符串的变量 2.在构造函数中初始化成员变量 CDocViewView: CDocViewViewO M/ TODO: add construction code here m nLine =0 m bOuse Down false m cRoss= Afx GetAppo->LoadStandardCursor(IDC CROSS) m hArrow AfX GetAppo->LoadStandardCursor(IDC ARROW程序的实现步骤_2 1.为视类添加数据成员为视类添加数据成员 2.1 int m_nLine; //记录已输入字符行数 CString m_strDisplay; //保存当前字符串的变量 2. 在构造函数中初始化成员变量 CDocViewView::CDocViewView() { // TODO: add construction code here m_nLine = 0; m_bMouseDown = false; m_hCross = AfxGetApp()->LoadStandardCursor(IDC_CROSS); m_hArrow = AfxGetApp()->LoadStandardCursor(IDC_ARROW); }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有