www.pudn.com > ListViewStradley_demo.zip > listctl.h


#if !defined(LISTCTL_H) 
#define LISTCTL_H 1 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// listctl.h : header file 
// 
 
#if !defined(MYEDIT_H) 
    #include "myedit.h" 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CMyListCtl window 
 
class CMyListCtl : public CListCtrl 
{ 
    friend class CListViewView; 
// Construction 
public: 
    CMyListCtl(); 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
    // ClassWizard generated virtual function overrides 
    //{{AFX_VIRTUAL(CMyListCtl) 
    //}}AFX_VIRTUAL 
 
// Implementation 
public: 
    virtual ~CMyListCtl(); 
 
	// Generated message map functions 
protected: 
 
    CMyEdit m_Edit; 
    void    selectNext (BOOL Forward = TRUE); 
 
    //{{AFX_MSG(CMyListCtl) 
    afx_msg void OnBeginLabelEdit(NMHDR* pNMHDR, LRESULT* pResult); 
    afx_msg void OnEndLabelEdit(NMHDR* pNMHDR, LRESULT* pResult); 
    afx_msg void OnClick(NMHDR* pNMHDR, LRESULT* pResult); 
    afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); 
    afx_msg UINT OnGetDlgCode(); 
    //}}AFX_MSG 
 
    DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_LISTCTL_H__BD80BD27_F8C1_11D2_A851_0000C01139C0__INCLUDED_)