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

📄 meter.h

📁 一个水轮机调速的控制程序
💻 H
字号:
#if !defined(AFX_METER_H__80B9FF38_E4F2_11D6_B840_94FA040E3614__INCLUDED_)
#define AFX_METER_H__80B9FF38_E4F2_11D6_B840_94FA040E3614__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.


// Dispatch interfaces referenced by this interface
class COleFont;

/////////////////////////////////////////////////////////////////////////////
// CMeter wrapper class

class CMeter : public CWnd
{
protected:
	DECLARE_DYNCREATE(CMeter)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xb1209626, 0xc43, 0x11d1, { 0x8d, 0xdd, 0x40, 0x10, 0x0, 0x0, 0x80, 0x0 } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:
	short GetInnerTop();
	void SetInnerTop(short);
	short GetInnerLeft();
	void SetInnerLeft(short);
	short GetInnerRight();
	void SetInnerRight(short);
	short GetInnerBottom();
	void SetInnerBottom(short);
	float GetValue();
	void SetValue(float);
	float GetMaxValue();
	void SetMaxValue(float);
	float GetMinValue();
	void SetMinValue(float);
	float GetMidStart();
	void SetMidStart(float);
	float GetHighStart();
	void SetHighStart(float);
	unsigned long GetHighColor();
	void SetHighColor(unsigned long);
	unsigned long GetMidColor();
	void SetMidColor(unsigned long);
	unsigned long GetLowColor();
	void SetLowColor(unsigned long);
	unsigned long GetBorderColor();
	void SetBorderColor(unsigned long);
	short GetBorderHigh();
	void SetBorderHigh(short);
	short GetScaleWidth();
	void SetScaleWidth(short);
	short GetScaleStartAngle();
	void SetScaleStartAngle(short);
	short GetScaleEndAngle();
	void SetScaleEndAngle(short);
	short GetCenterX();
	void SetCenterX(short);
	short GetCenterY();
	void SetCenterY(short);
	short GetRadius();
	void SetRadius(short);
	unsigned long GetNeedleColor();
	void SetNeedleColor(unsigned long);
	unsigned long GetScaleColor();
	void SetScaleColor(unsigned long);
	unsigned long GetMeterBackColor();
	void SetMeterBackColor(unsigned long);
	short GetScaleNumber();
	void SetScaleNumber(short);
	COleFont GetScaleFont();
	void SetScaleFont(LPDISPATCH);
	short GetPerScaleNumber();
	void SetPerScaleNumber(short);
	unsigned long GetFontColor();
	void SetFontColor(unsigned long);
	unsigned long GetNameColor();
	void SetNameColor(unsigned long);
	CString GetNameA();
	void SetNameA(LPCTSTR);
	COleFont GetFont();
	void SetFont(LPDISPATCH);

// Operations
public:
	void AboutBox();
};

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

#endif // !defined(AFX_METER_H__80B9FF38_E4F2_11D6_B840_94FA040E3614__INCLUDED_)

⌨️ 快捷键说明

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