ListCtrlView.h
上传用户:weimei12
上传日期:2022-08-11
资源大小:185k
文件大小:1k
- /********************************************************************
- created: 2008:12:17 14:23
- author: 李欣
- filename: c:MyProjectSimpleMailSimpleMailListCtrlView.h
- classname: CListCtrlView
- purpose: the view for displaying the mail information
- *********************************************************************/
- #pragma once
- #include "afxcmn.h"
- // CListCtrlView form view
- class CListCtrlView : public CFormView
- {
- DECLARE_DYNCREATE(CListCtrlView)
- public:
- CListCtrlView();
- protected:
- virtual ~CListCtrlView();
- public:
- enum { IDD = IDD_LISTCTRLVIEW };
- #ifdef _DEBUG
- virtual void AssertValid() const;
- #ifndef _WIN32_WCE
- virtual void Dump(CDumpContext& dc) const;
- #endif
- #endif
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- DECLARE_MESSAGE_MAP()
-
- public:
- virtual void OnInitialUpdate();
- afx_msg void OnSize(UINT nType, int cx, int cy);
- void InsertRowItem(const CString strFrom, const CString strSubject, const CString strDate, const CString strSize);
- CListCtrl m_listCtrl;
- protected:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- public:
- afx_msg void OnLvnItemActivateList(NMHDR *pNMHDR, LRESULT *pResult);
- };