newlistctrl.h

来自「本程序使用Visual C++6.0编写」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_NEWLISTCTRL_H__BD5FBD3A_2B3C_4E7B_B6A0_D5ACD9B05197__INCLUDED_)
#define AFX_NEWLISTCTRL_H__BD5FBD3A_2B3C_4E7B_B6A0_D5ACD9B05197__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NewListCtrl.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CNewListCtrl window

class CNewListCtrl : public CListCtrl
{
// Construction
public:
	CNewListCtrl();

// Attributes
public:

// Operations
public:
    CEdit m_edit;//编辑框控件
    int m_nitem,m_nsubitem,m_nitem1,m_nsubitem1;
//m_nitem,m_nsubitem为点击的行号与列号,m_nitem1,m_nsubitem1为前一点点击行号与列
//号
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNewListCtrl)
	//}}AFX_VIRTUAL

// Implementation
public:
	int m_flag;
	void EndEdit();
	void Edit();
	virtual ~CNewListCtrl();

	// Generated message map functions
protected:
	//{{AFX_MSG(CNewListCtrl)
		// NOTE - the ClassWizard will add and remove member functions here.
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);//左键消息映射;
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_NEWLISTCTRL_H__BD5FBD3A_2B3C_4E7B_B6A0_D5ACD9B05197__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?