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

📄 previewpane2.h

📁 串口收发工具
💻 H
字号:
#if !defined(AFX_PREVIEWPANE2_H__FE6FD4BE_01A8_4474_9D93_813145F66A00__INCLUDED_)
#define AFX_PREVIEWPANE2_H__FE6FD4BE_01A8_4474_9D93_813145F66A00__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PreviewPane2.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPreviewPane2 view

class CPreviewPane2 : public CView
{
private:
	bool bShowType;//显示方式是16进制还是10进制
	CFont m_font;
	LOGFONT logfont;
protected:
	CPreviewPane2();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CPreviewPane2)

// Attributes
public:

// Operations
public:
	CString		m_strTitle1;
	CString		m_strTitle2;
	CString		m_strDescp1;
	CString		m_strDescp2;
	CString		m_strViewMessage;
	CRect		m_rcCaption;
	CRect		m_rcView;
	BOOL		m_bMax;
	COLORREF	m_clrViewMessage;
	
	CListCtrl	m_list;
	CString		m_str1,m_str2,m_str3,m_str4;
	void SetActionExpain(int nIndex, CString str);
	void ClearList();
	void	ShowList(bool bShow);
	void AddSOEToList(int,int,int,int,int,int,int,int);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPreviewPane2)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CPreviewPane2();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CPreviewPane2)
	afx_msg void OnPaint();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnColumnclickList1(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PREVIEWPANE2_H__FE6FD4BE_01A8_4474_9D93_813145F66A00__INCLUDED_)

⌨️ 快捷键说明

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