Click here to Skip to main content
15,892,072 members
Articles / Desktop Programming / MFC

The ALXGrid Control Library.

Rate me:
Please Sign up or sign in to vote.
5.00/5 (29 votes)
10 Nov 20021 min read 201K   5.5K   85  
The ALXGrid Control Library is a set of classes for management of data as a table.
// ColListCtrl.h : interface of the CColListCtrl class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_COLLISTCTRL_H__E4C23EA7_EB85_11D4_8A41_000102CA073A__INCLUDED_)
#define AFX_COLLISTCTRL_H__E4C23EA7_EB85_11D4_8A41_000102CA073A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


#include "ALXGridCtrl.h"

/////////////////////////////////////////////////////////////////////////////
// CColListCtrl window

class CColListCtrl : public CALXGridCtrl
{
// Construction
public:
	CColListCtrl();

// Attributes
public:
	CWnd*	m_pwndWidth;

	FLDCOL_INFO m_aFieldsColInfo[GRIDCOLCOUNT];
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CColListCtrl)
	protected:
	//}}AFX_VIRTUAL
	virtual CELL_DATA GetCellData(int nCol, int nRow);
	virtual BOOL OnSaveCellData(int nCol, int nRow);
	virtual CALXCellMetrics* GetCellMetrics(int nCol, int nRow);
	virtual void OnSetActiveCell(int nCol, int nRow);

// Implementation
public:
	void SetColVisibl(BOOL bVisbl = TRUE);
	virtual ~CColListCtrl();

	// Generated message map functions
protected:
	//{{AFX_MSG(CColListCtrl)
	afx_msg void OnColVisibl();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_COLLISTCTRL_H__E4C23EA7_EB85_11D4_8A41_000102CA073A__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Russian Federation Russian Federation
Year of birth - 1974.
Eeducation - was ended by Kaliningrad State University in 1997.
Now I work as the engineer-programmer in Kaliningrad (RUSSIA).

Comments and Discussions