legendscrollbartool.cpp
来自「基于18B20的温度采集系统」· C++ 代码 · 共 214 行
CPP
214 行
// 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 "legendscrollbartool.h"
// Dispatch interfaces referenced by this interface
#include "brush.h"
#include "pen.h"
#include "gradient.h"
#include "scrollbarthumb.h"
/////////////////////////////////////////////////////////////////////////////
// CLegendScrollBarTool properties
/////////////////////////////////////////////////////////////////////////////
// CLegendScrollBarTool operations
BOOL CLegendScrollBarTool::GetHorizontal()
{
BOOL result;
InvokeHelper(0xc9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
void CLegendScrollBarTool::SetHorizontal(BOOL bNewValue)
{
static BYTE parms[] =
VTS_BOOL;
InvokeHelper(0xc9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
bNewValue);
}
long CLegendScrollBarTool::GetPosition()
{
long result;
InvokeHelper(0xca, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CLegendScrollBarTool::SetPosition(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xca, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
CBrush1 CLegendScrollBarTool::GetArrowBrush()
{
LPDISPATCH pDispatch;
InvokeHelper(0xcb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
return CBrush1(pDispatch);
}
BOOL CLegendScrollBarTool::GetAutoRepeat()
{
BOOL result;
InvokeHelper(0xcc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
return result;
}
void CLegendScrollBarTool::SetAutoRepeat(BOOL bNewValue)
{
static BYTE parms[] =
VTS_BOOL;
InvokeHelper(0xcc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
bNewValue);
}
unsigned long CLegendScrollBarTool::GetBackColor()
{
unsigned long result;
InvokeHelper(0xcd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CLegendScrollBarTool::SetBackColor(unsigned long newValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xcd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
newValue);
}
long CLegendScrollBarTool::GetBevel()
{
long result;
InvokeHelper(0xce, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CLegendScrollBarTool::SetBevel(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xce, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
CBrush1 CLegendScrollBarTool::GetBrush()
{
LPDISPATCH pDispatch;
InvokeHelper(0xcf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
return CBrush1(pDispatch);
}
long CLegendScrollBarTool::GetInitialDelay()
{
long result;
InvokeHelper(0xd1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CLegendScrollBarTool::SetInitialDelay(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xd1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
CPen1 CLegendScrollBarTool::GetPen()
{
LPDISPATCH pDispatch;
InvokeHelper(0xd2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
return CPen1(pDispatch);
}
long CLegendScrollBarTool::GetSize()
{
long result;
InvokeHelper(0xd3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CLegendScrollBarTool::SetSize(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xd3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
CBrush1 CLegendScrollBarTool::GetThumbBrush()
{
LPDISPATCH pDispatch;
InvokeHelper(0xd4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
return CBrush1(pDispatch);
}
long CLegendScrollBarTool::GetDrawStyle()
{
long result;
InvokeHelper(0xd0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CLegendScrollBarTool::SetDrawStyle(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xd0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
CGradient CLegendScrollBarTool::GetGradient()
{
LPDISPATCH pDispatch;
InvokeHelper(0xd5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
return CGradient(pDispatch);
}
long CLegendScrollBarTool::GetMinThumbSize()
{
long result;
InvokeHelper(0xd6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CLegendScrollBarTool::SetMinThumbSize(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xd6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
long CLegendScrollBarTool::GetThumbSize()
{
long result;
InvokeHelper(0xd7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
void CLegendScrollBarTool::SetThumbSize(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xd7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nNewValue);
}
CScrollBarThumb CLegendScrollBarTool::GetThumb()
{
LPDISPATCH pDispatch;
InvokeHelper(0xd8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
return CScrollBarThumb(pDispatch);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?