www.gusucode.com > VC++利用MSchart输出柱状图、拆线图、饼图实例-源码程序 > VC++利用MSchart输出柱状图、拆线图、饼图实例-源码程序/code/vcshadow.cpp

    // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// Download by http://www.NewXing.com
// 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 "vcshadow.h"

// Dispatch interfaces referenced by this interface
#include "VcBrush.h"
#include "VcCoor.h"


/////////////////////////////////////////////////////////////////////////////
// CVcShadow properties

/////////////////////////////////////////////////////////////////////////////
// CVcShadow operations

long CVcShadow::GetStyle()
{
	long result;
	InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
	return result;
}

void CVcShadow::SetStyle(long nNewValue)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 nNewValue);
}

CVcBrush CVcShadow::GetBrush()
{
	LPDISPATCH pDispatch;
	InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
	return CVcBrush(pDispatch);
}

CVcCoor CVcShadow::GetOffset()
{
	LPDISPATCH pDispatch;
	InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
	return CVcCoor(pDispatch);
}