listedit.h

来自「这个好像不错哦」· C头文件 代码 · 共 66 行

H
66
字号
#if !defined(AFX_LISTEDIT_H__A54DB884_477B_4EEA_9815_54F3EC55AEF9__INCLUDED_)
#define AFX_LISTEDIT_H__A54DB884_477B_4EEA_9815_54F3EC55AEF9__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CListEdit window

class CListEdit : public CEdit
{
// Construction
public:
	CListEdit();

// Attributes
public:
    
	CListCtrl *m_list;
	int m_item;
	int m_subitem;

	CRecordset *m_record;
	CString m_id;
	CString m_name;
	CString m_table;

	CString m_title;
	BOOL m_isnumber;

	HBRUSH m_brush;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CListEdit)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CListEdit();

	// Generated message map functions
protected:
	//{{AFX_MSG(CListEdit)
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
	afx_msg void OnRButtonDown(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_LISTEDIT_H__A54DB884_477B_4EEA_9815_54F3EC55AEF9__INCLUDED_)

⌨️ 快捷键说明

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