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

📄 graphview.h

📁 股票软件
💻 H
字号:

#pragma once

#include "StockGraph.h"

#define WM_USER_MYRBUTTONDOWN	(WM_USER+1001)

class CGraphView : public CView
{
	DECLARE_DYNCREATE(CGraphView)
protected:
	CGraphView();
	virtual ~CGraphView();

protected:
	CStockGraph	m_graph;

// Attributes

// Operations
public:
	void	ResetClientRect( );
	void	ChangeKType( int ktype );
	void	ChangeKFormat( int kformat );
	void	OnToggleKType();
	void	OnToggleKFormat( int kformat );
	void	ChangeMaindataType( int maindatatype );
	void	ChangeKLineMode( int klineMode );
	void	OnTechParametersChange( );
	void	ShowMultiStock( int nMultiStockCount );

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGraphView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	virtual void OnUpdate();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
	//}}AFX_VIRTUAL

// Generated message map functions
protected:
	//{{AFX_MSG(CGraphView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDestroy();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnViewPday();
	afx_msg void OnViewPweek();
	afx_msg void OnViewPmonth();
	afx_msg void OnViewPmin5();
	afx_msg void OnViewPmin15();
	afx_msg void OnViewPmin30();
	afx_msg void OnViewPmin60();
	afx_msg void OnViewLeft();
	afx_msg void OnViewRight();
	afx_msg void OnViewPageleft();
	afx_msg void OnViewPageright();
	afx_msg void OnViewHome();
	afx_msg void OnViewEnd();
	afx_msg void OnViewZoomin();
	afx_msg void OnViewZoomout();
	afx_msg void OnViewPrev();
	afx_msg void OnViewNext();
	afx_msg void OnViewInsert();
	afx_msg void OnViewNoresumedr();
	afx_msg void OnViewResumedrup();
	afx_msg void OnViewResumedrdown();
	afx_msg void OnViewMaindataclose();
	afx_msg void OnViewMaindataopen();
	afx_msg void OnViewMaindataaverage();
	afx_msg void OnViewKlinecandle();
	afx_msg void OnViewKlineamerica();
	afx_msg void OnViewKlinetower();
	afx_msg void OnUpdateViewPday(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewPweek(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewPmonth(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewPmin5(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewPmin15(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewPmin30(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewPmin60(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewNoresumedr(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewResumedrup(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewResumedrdown(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewMaindataclose(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewMaindataopen(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewMaindataaverage(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewKlinecandle(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewKlineamerica(CCmdUI* pCmdUI);
	afx_msg void OnUpdateViewKlinetower(CCmdUI* pCmdUI);
	afx_msg void OnViewHidethistech();
	afx_msg void OnUpdateViewHidethistech(CCmdUI* pCmdUI);
	//}}AFX_MSG
	afx_msg LRESULT OnGetViewTitle( WPARAM wParam, LPARAM lParam );
	afx_msg LRESULT OnColorChange( WPARAM wParam, LPARAM lParam );
	afx_msg LRESULT OnStkReceiverData( WPARAM wParam, LPARAM lParam );
	DECLARE_MESSAGE_MAP()
	friend class CMainFrame;
};

⌨️ 快捷键说明

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