vc_demoView.h
资源名称:vc_demo.rar [点击查看]
上传用户:zcy791212
上传日期:2013-03-06
资源大小:196k
文件大小:2k
源码类别:
Modem编程
开发平台:
Visual C++
- // vc_demoView.h : interface of the CVc_demoView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_VC_DEMOVIEW_H__A51DAC3D_39C7_4BA4_9FDE_5DC962E28C5C__INCLUDED_)
- #define AFX_VC_DEMOVIEW_H__A51DAC3D_39C7_4BA4_9FDE_5DC962E28C5C__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CVc_demoView : public CListView
- {
- protected: // create from serialization only
- CVc_demoView();
- DECLARE_DYNCREATE(CVc_demoView)
- void setViewStyle(void);
- // Attributes
- public:
- CVc_demoDoc* GetDocument();
- void InsertUserItem(ModemInfoStruct *mi);
- void ClearAllItem();
- CFont m_Font1,m_Font2,m_Font3;
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CVc_demoView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void OnInitialUpdate(); // called first time after construct
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CVc_demoView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CVc_demoView)
- afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
- afx_msg void OnCustDrawList(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnClick(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnRclick(NMHDR* pNMHDR, LRESULT* pResult);
- //}}AFX_MSG
- afx_msg void OnStyleChanged(int nStyleType, LPSTYLESTRUCT lpStyleStruct);
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in vc_demoView.cpp
- inline CVc_demoDoc* CVc_demoView::GetDocument()
- { return (CVc_demoDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_VC_DEMOVIEW_H__A51DAC3D_39C7_4BA4_9FDE_5DC962E28C5C__INCLUDED_)