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

📄 graphstatic.h

📁 一个完整的彩票软件的源代码
💻 H
字号:
#if !defined(AFX_GRAPHSTATIC_H__146ECA5F_87A0_47AA_9C83_DD48A02308CD__INCLUDED_)
#define AFX_GRAPHSTATIC_H__146ECA5F_87A0_47AA_9C83_DD48A02308CD__INCLUDED_

#include "Lottery.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GraphStatic.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CGraphStatic window

class CGraphStatic : public CStatic
{
// Construction
public:
	CGraphStatic();
	CArray<GRAPH,GRAPH> m_array;
	int m_nMax[MAX_SEQUENCY_NUMBER];
	int m_nMin[MAX_SEQUENCY_NUMBER];
	double m_nAve[MAX_SEQUENCY_NUMBER];
	int m_nWidth;
	FREQUENCY m_freq;
// Attributes
public:

// Operations
public:
	void FillArray(CArray<LOTTERY,LOTTERY> *pArray,int nWidth);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGraphStatic)
	protected:
	virtual void PreSubclassWindow();
	//}}AFX_VIRTUAL

// Implementation
public:
	CRect m_rectTopText;
	CRect m_rectProGraph;
	void InvalidateProGraph(LOTTERY *plot);
	GRAPH m_proGraph;
	BOOL m_nShowMode;
	void NotifyGraphAction();
	CButton m_btnShowModeSwitch;
	CButton m_btnAdd;
	CButton m_btnSubtract;
	int m_nCurX;
	int m_nCurY;
	int m_nZoomFactorX;
	int m_nZoomFactorY;
	CScrollBar m_VScrollBar;
	CScrollBar m_HScrollBar;
	virtual ~CGraphStatic();

	// Generated message map functions
protected:
	//{{AFX_MSG(CGraphStatic)
	afx_msg void OnPaint();
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnButtonAdd();
	afx_msg void OnButtonSubtract();
	afx_msg void OnButtonShowModeSwitch();
	afx_msg void OnNotifyGraphAction(WPARAM wp,LPARAM lp);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_GRAPHSTATIC_H__146ECA5F_87A0_47AA_9C83_DD48A02308CD__INCLUDED_)

⌨️ 快捷键说明

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