graphlegendset.h

来自「操作系统的演示代码」· C头文件 代码 · 共 57 行

H
57
字号
//GraphLegendSet.h - Version 3.0 (Brian Convery, May, 2001)

#if !defined(AFX_GRAPHLEGENDSET_H__3CBDC4C4_494F_11D5_AD40_006008198224__INCLUDED_)
#define AFX_GRAPHLEGENDSET_H__3CBDC4C4_494F_11D5_AD40_006008198224__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CGraphLegendSet window

class CGraphLegendSet : public CStatic
{
// Construction
public:
	CGraphLegendSet();

// Attributes
public:
	int legendId;	//only used for searching through a list of this object

private :
	CString legendLabel;

// Operations
public:
	void SetLegendLabel(int id, CString legendText);
	CString GetLegendLabel();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGraphLegendSet)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CGraphLegendSet();

	// Generated message map functions
protected:
	//{{AFX_MSG(CGraphLegendSet)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_GRAPHLEGENDSET_H__3CBDC4C4_494F_11D5_AD40_006008198224__INCLUDED_)

⌨️ 快捷键说明

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