// 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 "mshflexgrid.h"
// Dispatch interfaces referenced by this interface
#include "font.h"
#include "Picture.h"
#include "Recordset.h"
/////////////////////////////////////////////////////////////////////////////
// CMSHFlexGrid
IMPLEMENT_DYNCREATE(CMSHFlexGrid, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CMSHFlexGrid properties
/////////////////////////////////////////////////////////////////////////////
// CMSHFlexGrid operations
long CMSHFlexGrid::GetRows()
{
long result;
InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CMSHFlexGrid::SetRows(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
long CMSHFlexGrid::GetCols(long BandNumber)
{
long result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
BandNumber);
return result;
}
void CMSHFlexGrid::SetCols(long BandNumber, long nNewValue)
{
static BYTE parms[] =
VTS_I4 VTS_I4;
InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
BandNumber, nNewValue);
}
long CMSHFlexGrid::GetFixedRows()
{
long result;
InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CMSHFlexGrid::SetFixedRows(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
long CMSHFlexGrid::GetFixedCols()
{
long result;
InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CMSHFlexGrid::SetFixedCols(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
short CMSHFlexGrid::GetVersion()
{
short result;
InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
return result;
}
CString CMSHFlexGrid::GetFormatString()
{
CString result;
InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
void CMSHFlexGrid::SetFormatString(LPCTSTR lpszNewValue)
{
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
lpszNewValue);
}
long CMSHFlexGrid::GetTopRow()
{
long result;
InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CMSHFlexGrid::SetTopRow(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
long CMSHFlexGrid::GetLeftCol()
{
long result;
InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CMSHFlexGrid::SetLeftCol(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
long CMSHFlexGrid::GetRow()
{
long result;
InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CMSHFlexGrid::SetRow(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
long CMSHFlexGrid::GetCol()
{
long result;
InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CMSHFlexGrid::SetCol(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
long CMSHFlexGrid::GetRowSel()
{
long result;
InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CMSHFlexGrid::SetRowSel(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
long CMSHFlexGrid::GetColSel()
{
long result;
InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CMSHFlexGrid::SetColSel(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
CString CMSHFlexGrid::GetText()
{
CString result;
InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
void CMSHFlexGrid::SetText(LPCTSTR lpszNewValue)
{
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
lpszNewValue);
}
unsigned long CMSHFlexGrid::GetBackColor()
{
unsigned long result;
InvokeHelper(DISPID_BACKCOLOR, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CMSHFlexGrid::SetBackColor(unsigned long newValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(DISPID_BACKCOLOR, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
unsigned long CMSHFlexGrid::GetForeColor()
{
unsigned long result;
InvokeHelper(DISPID_FORECOLOR, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CMSHFlexGrid::SetForeColor(unsigned long newValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(DISPID_FORECOLOR, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
unsigned long CMSHFlexGrid::GetBackColorBand(long BandNumber)
{
unsigned long result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x8e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
BandNumber);
return result;
}
void CMSHFlexGrid::SetBackColorBand(long BandNumber, unsigned long newValue)
{
static BYTE parms[] =
VTS_I4 VTS_I4;
InvokeHelper(0x8e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
BandNumber, newValue);
}
unsigned long CMSHFlexGrid::GetForeColorBand(long BandNumber)
{
unsigned long result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x8f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
BandNumber);
return result;
}
void CMSHFlexGrid::SetForeColorBand(long BandNumber, unsigned long newValue)
{
static BYTE parms[] =
VTS_I4 VTS_I4;
InvokeHelper(0x8f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
BandNumber, newValue);
}
unsigned long CMSHFlexGrid::GetBackColorHeader(long BandNumber)
{
unsigned long result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x90, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
BandNumber);
return result;
}
void CMSHFlexGrid::SetBackColorHeader(long BandNumber, unsigned long newValue)
{
static BYTE parms[] =
VTS_I4 VTS_I4;
InvokeHelper(0x90, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
BandNumber, newValue);
}
unsigned long CMSHFlexGrid::GetForeColorHeader(long BandNumber)
{
unsigned long result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x91, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
BandNumber);
return result;
}
void CMSHFlexGrid::SetForeColorHeader(long BandNumber, unsigned long newValue)
{
static BYTE parms[] =
VTS_I4 VTS_I4;
InvokeHelper(0x91, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
BandNumber, newValue);
}
unsigned long CMSHFlexGrid::GetBackColorIndent(long BandNumber)
{
unsigned long result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xa1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
BandNumber);
return result;
}
void CMSHFlexGrid::SetBackColorIndent(long BandNumber, unsigned long newValue)
{
static BYTE parms[] =
VTS_I4 VTS_I4;
InvokeHelper(0xa1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
BandNumber, newValue);
}
unsigned long CMSHFlexGrid::GetBackColorFixed()
{
unsigned long result;
InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_I4, (void*)&result
评论0