📄 superlegend.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 "superlegend.h"
// Dispatch interfaces referenced by this interface
/////////////////////////////////////////////////////////////////////////////
// CSuperLegend
IMPLEMENT_DYNCREATE(CSuperLegend, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CSuperLegend properties
long CSuperLegend::GetReadyState()
{
long result;
GetProperty(DISPID_READYSTATE, VT_I4, (void*)&result);
return result;
}
LPFONTDISP CSuperLegend::GetFont()
{
LPFONTDISP pDispatch;
GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
return pDispatch;
}
void CSuperLegend::SetFont(LPDISPATCH propVal)
{
SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
}
BOOL CSuperLegend::GetItemDragAndDrop()
{
BOOL result;
GetProperty(0x1, VT_BOOL, (void*)&result);
return result;
}
void CSuperLegend::SetItemDragAndDrop(BOOL propVal)
{
SetProperty(0x1, VT_BOOL, propVal);
}
BOOL CSuperLegend::GetEditLabels()
{
BOOL result;
GetProperty(0x2, VT_BOOL, (void*)&result);
return result;
}
void CSuperLegend::SetEditLabels(BOOL propVal)
{
SetProperty(0x2, VT_BOOL, propVal);
}
BOOL CSuperLegend::GetHasButtons()
{
BOOL result;
GetProperty(0x3, VT_BOOL, (void*)&result);
return result;
}
void CSuperLegend::SetHasButtons(BOOL propVal)
{
SetProperty(0x3, VT_BOOL, propVal);
}
BOOL CSuperLegend::GetHasLines()
{
BOOL result;
GetProperty(0x4, VT_BOOL, (void*)&result);
return result;
}
void CSuperLegend::SetHasLines(BOOL propVal)
{
SetProperty(0x4, VT_BOOL, propVal);
}
BOOL CSuperLegend::GetSingleExpand()
{
BOOL result;
GetProperty(0x5, VT_BOOL, (void*)&result);
return result;
}
void CSuperLegend::SetSingleExpand(BOOL propVal)
{
SetProperty(0x5, VT_BOOL, propVal);
}
BOOL CSuperLegend::GetPopupMenu()
{
BOOL result;
GetProperty(0x6, VT_BOOL, (void*)&result);
return result;
}
void CSuperLegend::SetPopupMenu(BOOL propVal)
{
SetProperty(0x6, VT_BOOL, propVal);
}
short CSuperLegend::GetAppearance()
{
short result;
GetProperty(DISPID_APPEARANCE, VT_I2, (void*)&result);
return result;
}
void CSuperLegend::SetAppearance(short propVal)
{
SetProperty(DISPID_APPEARANCE, VT_I2, propVal);
}
unsigned long CSuperLegend::GetBackColor()
{
unsigned long result;
GetProperty(0x7, VT_I4, (void*)&result);
return result;
}
void CSuperLegend::SetBackColor(unsigned long propVal)
{
SetProperty(0x7, VT_I4, propVal);
}
unsigned long CSuperLegend::GetForeColor()
{
unsigned long result;
GetProperty(0x8, VT_I4, (void*)&result);
return result;
}
void CSuperLegend::SetForeColor(unsigned long propVal)
{
SetProperty(0x8, VT_I4, propVal);
}
CsoTreeView CSuperLegend::GetTreeView()
{
LPDISPATCH pDispatch;
GetProperty(0xe, VT_DISPATCH, (void*)&pDispatch);
return CsoTreeView(pDispatch);
}
void CSuperLegend::SetTreeView(LPDISPATCH propVal)
{
SetProperty(0xe, VT_DISPATCH, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CSuperLegend operations
BOOL CSuperLegend::Clear()
{
BOOL result;
InvokeHelper(0x9, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
return result;
}
void CSuperLegend::Refresh()
{
InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
BOOL CSuperLegend::Connect(LPDISPATCH objSuperMapCtrl)
{
BOOL result;
static BYTE parms[] =
VTS_DISPATCH;
InvokeHelper(0xa, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
objSuperMapCtrl);
return result;
}
void CSuperLegend::Disconnect()
{
InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void CSuperLegend::Expand()
{
InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void CSuperLegend::ShowThemeWizard(LPDISPATCH objLayer, BOOL bModify, long nThemeType)
{
static BYTE parms[] =
VTS_DISPATCH VTS_BOOL VTS_I4;
InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
objLayer, bModify, nThemeType);
}
void CSuperLegend::AboutBox()
{
InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CSuperLegendComboBox
IMPLEMENT_DYNCREATE(CSuperLegendComboBox, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CSuperLegendComboBox properties
short CSuperLegendComboBox::GetAppearance()
{
short result;
GetProperty(DISPID_APPEARANCE, VT_I2, (void*)&result);
return result;
}
void CSuperLegendComboBox::SetAppearance(short propVal)
{
SetProperty(DISPID_APPEARANCE, VT_I2, propVal);
}
LPFONTDISP CSuperLegendComboBox::GetFont()
{
LPFONTDISP pDispatch;
GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&pDispatch);
return pDispatch;
}
void CSuperLegendComboBox::SetFont(LPDISPATCH propVal)
{
SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
}
long CSuperLegendComboBox::GetReadyState()
{
long result;
GetProperty(DISPID_READYSTATE, VT_I4, (void*)&result);
return result;
}
unsigned long CSuperLegendComboBox::GetBackColor()
{
unsigned long result;
GetProperty(0x1, VT_I4, (void*)&result);
return result;
}
void CSuperLegendComboBox::SetBackColor(unsigned long propVal)
{
SetProperty(0x1, VT_I4, propVal);
}
unsigned long CSuperLegendComboBox::GetForeColor()
{
unsigned long result;
GetProperty(0x2, VT_I4, (void*)&result);
return result;
}
void CSuperLegendComboBox::SetForeColor(unsigned long propVal)
{
SetProperty(0x2, VT_I4, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CSuperLegendComboBox operations
BOOL CSuperLegendComboBox::Connect(LPDISPATCH objSupermap)
{
BOOL result;
static BYTE parms[] =
VTS_DISPATCH;
InvokeHelper(0x3, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
objSupermap);
return result;
}
BOOL CSuperLegendComboBox::Disconnect()
{
BOOL result;
InvokeHelper(0x4, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
return result;
}
void CSuperLegendComboBox::Refresh()
{
InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void CSuperLegendComboBox::AboutBox()
{
InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CSuperLegendList
IMPLEMENT_DYNCREATE(CSuperLegendList, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CSuperLegendList properties
short CSuperLegendList::GetAppearance()
{
short result;
GetProperty(DISPID_APPEARANCE, VT_I2, (void*)&result);
return result;
}
void CSuperLegendList::SetAppearance(short propVal)
{
SetProperty(DISPID_APPEARANCE, VT_I2, propVal);
}
long CSuperLegendList::GetReadyState()
{
long result;
GetProperty(DISPID_READYSTATE, VT_I4, (void*)&result);
return result;
}
unsigned long CSuperLegendList::GetBackColor()
{
unsigned long result;
GetProperty(0x1, VT_I4, (void*)&result);
return result;
}
void CSuperLegendList::SetBackColor(unsigned long propVal)
{
SetProperty(0x1, VT_I4, propVal);
}
LPFONTDISP CSuperLegendList::GetFont()
{
LPFONTDISP pDispatch;
GetProperty(0x2, VT_DISPATCH, (void*)&pDispatch);
return pDispatch;
}
void CSuperLegendList::SetFont(LPDISPATCH propVal)
{
SetProperty(0x2, VT_DISPATCH, propVal);
}
unsigned long CSuperLegendList::GetForeColor()
{
unsigned long result;
GetProperty(0x3, VT_I4, (void*)&result);
return result;
}
void CSuperLegendList::SetForeColor(unsigned long propVal)
{
SetProperty(0x3, VT_I4, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CSuperLegendList operations
BOOL CSuperLegendList::Connect(LPDISPATCH objSuperMapCtrl)
{
BOOL result;
static BYTE parms[] =
VTS_DISPATCH;
InvokeHelper(0x4, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
objSuperMapCtrl);
return result;
}
BOOL CSuperLegendList::Disconnect()
{
BOOL result;
InvokeHelper(0x5, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
return result;
}
void CSuperLegendList::Refresh()
{
InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void CSuperLegendList::AboutBox()
{
InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -