// 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 "eightball2.h"

// Dispatch interfaces referenced by this interface
#include "font.h"

/////////////////////////////////////////////////////////////////////////////
// CEightBall2

IMPLEMENT_DYNCREATE(CEightBall2, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CEightBall2 properties

double CEightBall2::GetRoll()
{
	double result;
	GetProperty(0x12, VT_R8, (void*)&result);
	return result;
}

void CEightBall2::SetRoll(double propVal)
{
	SetProperty(0x12, VT_R8, propVal);
}

double CEightBall2::GetPitch()
{
	double result;
	GetProperty(0x13, VT_R8, (void*)&result);
	return result;
}

void CEightBall2::SetPitch(double propVal)
{
	SetProperty(0x13, VT_R8, propVal);
}

BOOL CEightBall2::GetCircleShape()
{
	BOOL result;
	GetProperty(0x1, VT_BOOL, (void*)&result);
	return result;
}

void CEightBall2::SetCircleShape(BOOL propVal)
{
	SetProperty(0x1, VT_BOOL, propVal);
}

OLE_COLOR CEightBall2::GetBackColor()
{
	OLE_COLOR result;
	GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
	return result;
}

void CEightBall2::SetBackColor(OLE_COLOR propVal)
{
	SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
}

unsigned long CEightBall2::GetGroundColor()
{
	unsigned long result;
	GetProperty(0x2, VT_I4, (void*)&result);
	return result;
}

void CEightBall2::SetGroundColor(unsigned long propVal)
{
	SetProperty(0x2, VT_I4, propVal);
}

unsigned long CEightBall2::GetSkyColor()
{
	unsigned long result;
	GetProperty(0x3, VT_I4, (void*)&result);
	return result;
}

void CEightBall2::SetSkyColor(unsigned long propVal)
{
	SetProperty(0x3, VT_I4, propVal);
}

unsigned long CEightBall2::GetHorizonColor()
{
	unsigned long result;
	GetProperty(0x4, VT_I4, (void*)&result);
	return result;
}

void CEightBall2::SetHorizonColor(unsigned long propVal)
{
	SetProperty(0x4, VT_I4, propVal);
}

unsigned long CEightBall2::GetOuterRingColor()
{
	unsigned long result;
	GetProperty(0x5, VT_I4, (void*)&result);
	return result;
}

void CEightBall2::SetOuterRingColor(unsigned long propVal)
{
	SetProperty(0x5, VT_I4, propVal);
}

CString CEightBall2::GetCaption()
{
	CString result;
	GetProperty(DISPID_CAPTION, VT_BSTR, (void*)&result);
	return result;
}

void CEightBall2::SetCaption(LPCTSTR propVal)
{
	SetProperty(DISPID_CAPTION, VT_BSTR, propVal);
}

COleFont CEightBall2::GetFont()
{
	LPDISPATCH pDispatch;
	GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
	return COleFont(pDispatch);
}

void CEightBall2::SetFont(LPDISPATCH propVal)
{
	SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
}

OLE_COLOR CEightBall2::GetForeColor()
{
	OLE_COLOR result;
	GetProperty(DISPID_FORECOLOR, VT_I4, (void*)&result);
	return result;
}

void CEightBall2::SetForeColor(OLE_COLOR propVal)
{
	SetProperty(DISPID_FORECOLOR, VT_I4, propVal);
}

short CEightBall2::GetOuterRingWidth()
{
	short result;
	GetProperty(0x6, VT_I2, (void*)&result);
	return result;
}

void CEightBall2::SetOuterRingWidth(short propVal)
{
	SetProperty(0x6, VT_I2, propVal);
}

unsigned long CEightBall2::GetReferenceMarkColor()
{
	unsigned long result;
	GetProperty(0x7, VT_I4, (void*)&result);
	return result;
}

void CEightBall2::SetReferenceMarkColor(unsigned long propVal)
{
	SetProperty(0x7, VT_I4, propVal);
}

unsigned long CEightBall2::GetGridColor()
{
	unsigned long result;
	GetProperty(0x8, VT_I4, (void*)&result);
	return result;
}

void CEightBall2::SetGridColor(unsigned long propVal)
{
	SetProperty(0x8, VT_I4, propVal);
}

short CEightBall2::GetMajorGridWidth()
{
	short result;
	GetProperty(0x9, VT_I2, (void*)&result);
	return result;
}

void CEightBall2::SetMajorGridWidth(short propVal)
{
	SetProperty(0x9, VT_I2, propVal);
}

short CEightBall2::GetMinorGridWidth()
{
	short result;
	GetProperty(0xa, VT_I2, (void*)&result);
	return result;
}

void CEightBall2::SetMinorGridWidth(short propVal)
{
	SetProperty(0xa, VT_I2, propVal);
}

double CEightBall2::GetMaxRollAngle()
{
	double result;
	GetProperty(0xb, VT_R8, (void*)&result);
	return result;
}

void CEightBall2::SetMaxRollAngle(double propVal)
{
	SetProperty(0xb, VT_R8, propVal);
}

double CEightBall2::GetMajorRollGridIncrement()
{
	double result;
	GetProperty(0xc, VT_R8, (void*)&result);
	return result;
}

void CEightBall2::SetMajorRollGridIncrement(double propVal)
{
	SetProperty(0xc, VT_R8, propVal);
}

double CEightBall2::GetMinorRollGridIncrement()
{
	double result;
	GetProperty(0xd, VT_R8, (void*)&result);
	return result;
}

void CEightBall2::SetMinorRollGridIncrement(double propVal)
{
	SetProperty(0xd, VT_R8, propVal);
}

double CEightBall2::GetMajorPitchGridIncrement()
{
	double result;
	GetProperty(0xe, VT_R8, (void*)&result);
	return result;
}

void CEightBall2::SetMajorPitchGridIncrement(double propVal)
{
	SetProperty(0xe, VT_R8, propVal);
}

double CEightBall2::GetMinorPitchGridIncrement()
{
	double result;
	GetProperty(0xf, VT_R8, (void*)&result);
	return result;
}

void CEightBall2::SetMinorPitchGridIncrement(double propVal)
{
	SetProperty(0xf, VT_R8, propVal);
}

double CEightBall2::GetMaxPitchAngle()
{
	double result;
	GetProperty(0x10, VT_R8, (void*)&result);
	return result;
}

void CEightBall2::SetMaxPitchAngle(double propVal)
{
	SetProperty(0x10, VT_R8, propVal);
}

double CEightBall2::GetMaxPitchGridAngle()
{
	double result;
	GetProperty(0x11, VT_R8, (void*)&result);
	return result;
}

void CEightBall2::SetMaxPitchGridAngle(double propVal)
{
	SetProperty(0x11, VT_R8, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CEightBall2 operations

void CEightBall2::AboutBox()
{
	InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
