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

📄 bar.cpp

📁 远程视频监控系统最新程序代码
💻 CPP
字号:
// 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.


#include "stdafx.h"
#include "bar.h"

/////////////////////////////////////////////////////////////////////////////
// CBar

IMPLEMENT_DYNCREATE(CBar, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CBar properties

BOOL CBar::GetBPlane()
{
	BOOL result;
	GetProperty(0x1, VT_BOOL, (void*)&result);
	return result;
}

void CBar::SetBPlane(BOOL propVal)
{
	SetProperty(0x1, VT_BOOL, propVal);
}

long CBar::GetNAlarmColor()
{
	long result;
	GetProperty(0x2, VT_I4, (void*)&result);
	return result;
}

void CBar::SetNAlarmColor(long propVal)
{
	SetProperty(0x2, VT_I4, propVal);
}

float CBar::GetNAlarmUpper()
{
	float result;
	GetProperty(0x3, VT_R4, (void*)&result);
	return result;
}

void CBar::SetNAlarmUpper(float propVal)
{
	SetProperty(0x3, VT_R4, propVal);
}

float CBar::GetNAlarmDown()
{
	float result;
	GetProperty(0x4, VT_R4, (void*)&result);
	return result;
}

void CBar::SetNAlarmDown(float propVal)
{
	SetProperty(0x4, VT_R4, propVal);
}

float CBar::GetNUpper()
{
	float result;
	GetProperty(0x5, VT_R4, (void*)&result);
	return result;
}

void CBar::SetNUpper(float propVal)
{
	SetProperty(0x5, VT_R4, propVal);
}

float CBar::GetNDown()
{
	float result;
	GetProperty(0x6, VT_R4, (void*)&result);
	return result;
}

void CBar::SetNDown(float propVal)
{
	SetProperty(0x6, VT_R4, propVal);
}

short CBar::GetNMarkNum()
{
	short result;
	GetProperty(0x7, VT_I2, (void*)&result);
	return result;
}

void CBar::SetNMarkNum(short propVal)
{
	SetProperty(0x7, VT_I2, propVal);
}

short CBar::GetNMarkMode()
{
	short result;
	GetProperty(0x8, VT_I2, (void*)&result);
	return result;
}

void CBar::SetNMarkMode(short propVal)
{
	SetProperty(0x8, VT_I2, propVal);
}

long CBar::GetNBkColor()
{
	long result;
	GetProperty(0x9, VT_I4, (void*)&result);
	return result;
}

void CBar::SetNBkColor(long propVal)
{
	SetProperty(0x9, VT_I4, propVal);
}

long CBar::GetNFgColor()
{
	long result;
	GetProperty(0xa, VT_I4, (void*)&result);
	return result;
}

void CBar::SetNFgColor(long propVal)
{
	SetProperty(0xa, VT_I4, propVal);
}

float CBar::GetNCurPos()
{
	float result;
	GetProperty(0xb, VT_R4, (void*)&result);
	return result;
}

void CBar::SetNCurPos(float propVal)
{
	SetProperty(0xb, VT_R4, propVal);
}

long CBar::GetNTextColor()
{
	long result;
	GetProperty(0xc, VT_I4, (void*)&result);
	return result;
}

void CBar::SetNTextColor(long propVal)
{
	SetProperty(0xc, VT_I4, propVal);
}

short CBar::GetNFontScale()
{
	short result;
	GetProperty(0xd, VT_I2, (void*)&result);
	return result;
}

void CBar::SetNFontScale(short propVal)
{
	SetProperty(0xd, VT_I2, propVal);
}

BOOL CBar::GetBHorizon()
{
	BOOL result;
	GetProperty(0xe, VT_BOOL, (void*)&result);
	return result;
}

void CBar::SetBHorizon(BOOL propVal)
{
	SetProperty(0xe, VT_BOOL, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CBar operations

⌨️ 快捷键说明

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