www.pudn.com > test_vc_11.rar > panes.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 "panes.h"
// Dispatch interfaces referenced by this interface
#include "spreadsheet.h"
#include "pane.h"
#include "window.h"
/////////////////////////////////////////////////////////////////////////////
// CPanes properties
/////////////////////////////////////////////////////////////////////////////
// CPanes operations
LPDISPATCH CPanes::GetApplication()
{
LPDISPATCH pDispatch;
InvokeHelper(0x60020001, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
// return CSpreadsheet(pDispatch);
return pDispatch;
}
long CPanes::GetCount()
{
long result;
InvokeHelper(0x60020002, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
CPane CPanes::GetItem(long Index)
{
LPDISPATCH pDispatch;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
Index);
return CPane(pDispatch);
}
CWindow CPanes::GetParent()
{
LPDISPATCH pDispatch;
InvokeHelper(0x60020004, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
return CWindow(pDispatch);
}