⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vc_demoview.h

📁 使用VC编写的GPRS通讯代码,可用于GPRS MODEM收发数据
💻 H
字号:
// 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_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -