// 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 "indicator2.h"

// Dispatch interfaces referenced by this interface
#include "font.h"

/////////////////////////////////////////////////////////////////////////////
// CIndicator2

IMPLEMENT_DYNCREATE(CIndicator2, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CIndicator2 properties

OLE_COLOR CIndicator2::GetBackColor()
{
	OLE_COLOR result;
	GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
	return result;
}

void CIndicator2::SetBackColor(OLE_COLOR propVal)
{
	SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
}

CString CIndicator2::GetCaption()
{
	CString result;
	GetProperty(DISPID_CAPTION, VT_BSTR, (void*)&result);
	return result;
}

void CIndicator2::SetCaption(LPCTSTR propVal)
{
	SetProperty(DISPID_CAPTION, VT_BSTR, propVal);
}

COleFont CIndicator2::GetFont()
{
	LPDISPATCH pDispatch;
	GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
	return COleFont(pDispatch);
}

void CIndicator2::SetFont(LPDISPATCH propVal)
{
	SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
}

OLE_COLOR CIndicator2::GetForeColor()
{
	OLE_COLOR result;
	GetProperty(DISPID_FORECOLOR, VT_I4, (void*)&result);
	return result;
}

void CIndicator2::SetForeColor(OLE_COLOR propVal)
{
	SetProperty(DISPID_FORECOLOR, VT_I4, propVal);
}

double CIndicator2::GetValue()
{
	double result;
	GetProperty(0x5, VT_R8, (void*)&result);
	return result;
}

void CIndicator2::SetValue(double propVal)
{
	SetProperty(0x5, VT_R8, propVal);
}

short CIndicator2::GetPrecision()
{
	short result;
	GetProperty(0x1, VT_I2, (void*)&result);
	return result;
}

void CIndicator2::SetPrecision(short propVal)
{
	SetProperty(0x1, VT_I2, propVal);
}

CString CIndicator2::GetUnits()
{
	CString result;
	GetProperty(0x2, VT_BSTR, (void*)&result);
	return result;
}

void CIndicator2::SetUnits(LPCTSTR propVal)
{
	SetProperty(0x2, VT_BSTR, propVal);
}

short CIndicator2::GetType()
{
	short result;
	GetProperty(0x3, VT_I2, (void*)&result);
	return result;
}

void CIndicator2::SetType(short propVal)
{
	SetProperty(0x3, VT_I2, propVal);
}

unsigned long CIndicator2::GetIndicatorColor()
{
	unsigned long result;
	GetProperty(0x4, VT_I4, (void*)&result);
	return result;
}

void CIndicator2::SetIndicatorColor(unsigned long propVal)
{
	SetProperty(0x4, VT_I4, propVal);
}

COleFont CIndicator2::GetHeadingFont()
{
	LPDISPATCH pDispatch;
	GetProperty(0x6, VT_DISPATCH, (void*)&pDispatch);
	return COleFont(pDispatch);
}

void CIndicator2::SetHeadingFont(LPDISPATCH propVal)
{
	SetProperty(0x6, VT_DISPATCH, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CIndicator2 operations

void CIndicator2::AboutBox()
{
	InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
