📄 sogridthemerange.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 "sogridthemerange.h"
/////////////////////////////////////////////////////////////////////////////
// CsoGridThemeRange properties
long CsoGridThemeRange::GetBreakCount()
{
long result;
GetProperty(0x1, VT_I4, (void*)&result);
return result;
}
void CsoGridThemeRange::SetBreakCount(long propVal)
{
SetProperty(0x1, VT_I4, propVal);
}
CString CsoGridThemeRange::GetCaption()
{
CString result;
GetProperty(0x2, VT_BSTR, (void*)&result);
return result;
}
void CsoGridThemeRange::SetCaption(LPCTSTR propVal)
{
SetProperty(0x2, VT_BSTR, propVal);
}
BOOL CsoGridThemeRange::GetEnable()
{
BOOL result;
GetProperty(0x3, VT_BOOL, (void*)&result);
return result;
}
void CsoGridThemeRange::SetEnable(BOOL propVal)
{
SetProperty(0x3, VT_BOOL, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CsoGridThemeRange operations
double CsoGridThemeRange::GetBreakValue(short nIndex)
{
double result;
static BYTE parms[] =
VTS_I2;
InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, parms,
nIndex);
return result;
}
void CsoGridThemeRange::SetBreakValue(short nIndex, double newValue)
{
static BYTE parms[] =
VTS_I2 VTS_R8;
InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nIndex, newValue);
}
unsigned long CsoGridThemeRange::GetStyle(long nIndex)
{
unsigned long result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
nIndex);
return result;
}
void CsoGridThemeRange::SetStyle(long nIndex, unsigned long newValue)
{
static BYTE parms[] =
VTS_I4 VTS_I4;
InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nIndex, newValue);
}
CString CsoGridThemeRange::GetItemCaption(long nIndex)
{
CString result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
nIndex);
return result;
}
void CsoGridThemeRange::SetItemCaption(long nIndex, LPCTSTR lpszNewValue)
{
static BYTE parms[] =
VTS_I4 VTS_BSTR;
InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nIndex, lpszNewValue);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -