cmapxlegendtexts.cpp
来自「铁路列车车辆监控系统本系统要求PC机有两个串行通讯串口」· C++ 代码 · 共 55 行
CPP
55 行
// 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 "cmapxlegendtexts.h"
// Dispatch interfaces referenced by this interface
#include "cmapxlegendtext.h"
/////////////////////////////////////////////////////////////////////////////
// CCMapXLegendTexts properties
BOOL CCMapXLegendTexts::GetAutoGenerate()
{
BOOL result;
GetProperty(0x1, VT_BOOL, (void*)&result);
return result;
}
void CCMapXLegendTexts::SetAutoGenerate(BOOL propVal)
{
SetProperty(0x1, VT_BOOL, propVal);
}
long CCMapXLegendTexts::GetCount()
{
long result;
GetProperty(0x2, VT_I4, (void*)&result);
return result;
}
CCMapXLegendText CCMapXLegendTexts::GetAllOthersText()
{
LPDISPATCH pDispatch;
GetProperty(0x4, VT_DISPATCH, (void*)&pDispatch);
return CCMapXLegendText(pDispatch);
}
/////////////////////////////////////////////////////////////////////////////
// CCMapXLegendTexts operations
CCMapXLegendText CCMapXLegendTexts::Item(const VARIANT& Index)
{
LPDISPATCH pDispatch;
static BYTE parms[] =
VTS_VARIANT;
InvokeHelper(0x3, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms,
&Index);
return CCMapXLegendText(pDispatch);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?