⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 yhlistctrl.h

📁 一个实用的GIS系统的系统维护模块
💻 H
字号:
#if !defined(AFX_YHLISTCTRL_H__E066489C_6FA1_404B_AACC_F30F7BF9CDBB__INCLUDED_)
#define AFX_YHLISTCTRL_H__E066489C_6FA1_404B_AACC_F30F7BF9CDBB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// YHListCtrl.h : header file
//
#include "YHEditCell.h"
#define IDC_EDIT_CELL   2003

enum CELL_TYPE { CT_NULL/* Read Only */, CT_EDIT, 
                 CT_LISTBOX, CT_COMBOBOX };  // Base on column
/////////////////////////////////////////////////////////////////////////////
// CYHListCtrl window

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

// Attributes
public:
	long maxid;

// Operations
public:
	CEdit* EditSubItem( int nItem, int nSubItem );

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CYHListCtrl)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CYHListCtrl();

	// Generated message map functions
protected:
	//{{AFX_MSG(CYHListCtrl)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
    int InsertItemEx( int nItem );  // Extended function of insert item
};

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

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

#endif // !defined(AFX_YHLISTCTRL_H__1D5C8711_2F0C_490E_8595_F9886686D683__INCLUDED_)

⌨️ 快捷键说明

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