|
/////////////////////////////////////////////////////////////////////////////
// ListCtrlEx.h : header file
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_LISTCTRLEX_H__EMERY_EMERALD__INCLUDED_)
#define AFX_LISTCTRLEX_H__EMERY_EMERALD__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "..\MainDoc.h"
/////////////////////////////////////////////////////////////////////////////
// class CListCtrlEx
/////////////////////////////////////////////////////////////////////////////
class CListCtrlEx : public CListCtrl {
// Construction
public:
CListCtrlEx();
// Attributes
public:
//*** Main application pointer
CMainApp *m_pMainApp;
//*** Table Id
ETABLE m_eTable;
//*** Current meta table structure
META_TABLE m_MetaTable;
//*** Current document
CMainDoc *m_pDoc;
// Operations
public:
// Overrides
public:
protected:
virtual void SetColItemText(CDC *pDC, CString &sCellText, CRect &TextRect,
UINT nJustify);
virtual void SetRowText(LPDRAWITEMSTRUCT pDIS);
virtual void DrawItem(LPDRAWITEMSTRUCT pDIS);
protected:
virtual BOOL OnChildNotify(UINT message, WPARAM wParam, LPARAM lParam,
LRESULT *pLResult);
// Implementation
public:
virtual ~CListCtrlEx();
// Generated message map functions
protected:
afx_msg void MeasureItem(LPMEASUREITEMSTRUCT pMIS);
DECLARE_MESSAGE_MAP()
};
#endif // !defined(AFX_LISTCTRLEX_H__EMERY_EMERALD__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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.