Click here to Skip to main content
15,885,944 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 200.5K   5.5K   85  
The ALXGrid Control Library is a set of classes for management of data as a table.
// GridCtrl.h : interface of the CCrGridCtrl class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CRGRIDCTRL_H_INCLUDED_)
#define AFX_CRGRIDCTRL_H_INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EventGrig.h : header file
//
#include "ALXGridCtrl.h"

/////////////////////////////////////////////////////////////////////////////
// CEventGrig window

class CCrGridCtrl : public CALXGridCtrl
{
// Construction
public:
	DECLARE_DYNCREATE(CCrGridCtrl)
public:
	CCrGridCtrl();
	virtual ~CCrGridCtrl();

// Attributes
private:
	CBitmap m_BMP;

// Operations
private:
	virtual LPARAM GetImage(int nCol, int nRow, BOOL bSelected);
public:

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

// Implementation
public:

	// Generated message map functions
protected:
	virtual CELL_DATA GetCellData(int nCol, int nRow);
	//{{AFX_MSG(CCrGridCtrl)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_CRGRIDCTRL_H_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