📄 superlegend.h
字号:
#if !defined(AFX_SUPERLEGEND_H__A79A8AEC_AA7D_4898_B14A_186C37C23CEF__INCLUDED_)
#define AFX_SUPERLEGEND_H__A79A8AEC_AA7D_4898_B14A_186C37C23CEF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 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.
//Legend Event IDs
#define SUPERLEGEND_DISPID_Modified 0x1
#define SUPERLEGEND_DISPID_EditableLayerChanged 0x2
#define SUPERLEGEND_DISPID_BEFORELABELEDIT 0x3
#define SUPERLEGEND_DISPID_AFTERLABELEDIT 0x4
#define SUPERLEGEND_DISPID_COLLAPSED 0x5
#define SUPERLEGEND_DISPID_EXPANDED 0x6
#define SUPERLEGEND_DISPID_NODECHECK 0x7
#define SUPERLEGEND_DISPID_NODECLICK 0x8
#define SUPERLEGEND_DISPID_AFTERREFRESH 0x9
// dispatch id definitions for ole stock events are
// defined in <olectl.h>
// they are included here for reference
#define SUPERLEGEND_DISPID_CLICK (-618)
#define SUPERLEGEND_DISPID_DBLCLICK (-619)
#define SUPERLEGEND_DISPID_KEYDOWN (-620)
#define SUPERLEGEND_DISPID_KEYPRESS (-621)
#define SUPERLEGEND_DISPID_KEYUP (-622)
#define SUPERLEGEND_DISPID_MOUSEDOWN (-623)
#define SUPERLEGEND_DISPID_MOUSEMOVE (-624)
#define SUPERLEGEND_DISPID_MOUSEUP (-625)
#define SUPERLEGEND_DISPID_ERROREVENT (-626)
#include "supermap.h"
/////////////////////////////////////////////////////////////////////////////
// CSuperLegend wrapper class
class CSuperLegend : public CWnd
{
protected:
DECLARE_DYNCREATE(CSuperLegend)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xaa66e1f1, 0x5441, 0x4596, { 0xa7, 0x12, 0xdf, 0x82, 0x70, 0x5b, 0x34, 0x66 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
long GetReadyState();
LPFONTDISP GetFont();
void SetFont(LPDISPATCH);
BOOL GetItemDragAndDrop();
void SetItemDragAndDrop(BOOL);
BOOL GetEditLabels();
void SetEditLabels(BOOL);
BOOL GetHasButtons();
void SetHasButtons(BOOL);
BOOL GetHasLines();
void SetHasLines(BOOL);
BOOL GetSingleExpand();
void SetSingleExpand(BOOL);
BOOL GetPopupMenu();
void SetPopupMenu(BOOL);
short GetAppearance();
void SetAppearance(short);
unsigned long GetBackColor();
void SetBackColor(unsigned long);
unsigned long GetForeColor();
void SetForeColor(unsigned long);
CsoTreeView GetTreeView();
void SetTreeView(LPDISPATCH);
// Operations
public:
BOOL Clear();
void Refresh();
BOOL Connect(LPDISPATCH objSuperMapCtrl);
void Disconnect();
void Expand();
void ShowThemeWizard(LPDISPATCH objLayer, BOOL bModify, long nThemeType);
void AboutBox();
};
class CSuperLegendComboBox : public CWnd
{
protected:
DECLARE_DYNCREATE(CSuperLegendComboBox)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x1691b01, 0x7b34, 0x43bd, { 0xa5, 0x47, 0x3d, 0x6f, 0xa7, 0x45, 0x51, 0x26 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
short GetAppearance();
void SetAppearance(short);
LPFONTDISP GetFont();
void SetFont(LPDISPATCH);
long GetReadyState();
unsigned long GetBackColor();
void SetBackColor(unsigned long);
unsigned long GetForeColor();
void SetForeColor(unsigned long);
// Operations
public:
BOOL Connect(LPDISPATCH objSupermap);
BOOL Disconnect();
void Refresh();
void AboutBox();
};
class CSuperLegendList : public CWnd
{
protected:
DECLARE_DYNCREATE(CSuperLegendList)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x13b8be52, 0xf47b, 0x4146, { 0x80, 0xe6, 0xdf, 0xe8, 0x97, 0x29, 0xa3, 0x7a } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
short GetAppearance();
void SetAppearance(short);
long GetReadyState();
unsigned long GetBackColor();
void SetBackColor(unsigned long);
LPFONTDISP GetFont();
void SetFont(LPDISPATCH);
unsigned long GetForeColor();
void SetForeColor(unsigned long);
// Operations
public:
BOOL Connect(LPDISPATCH objSuperMapCtrl);
BOOL Disconnect();
void Refresh();
void AboutBox();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SUPERLEGEND_H__A79A8AEC_AA7D_4898_B14A_186C37C23CEF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -