📄 _legend.h
字号:
#if !defined(AFX__LEGEND_H__D98B1EC9_818A_40FB_9647_112C8F1EC08A__INCLUDED_)
#define AFX__LEGEND_H__D98B1EC9_818A_40FB_9647_112C8F1EC08A__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.
/////////////////////////////////////////////////////////////////////////////
// C_legend wrapper class
class C_legend : public CWnd
{
protected:
DECLARE_DYNCREATE(C_legend)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xc7fc2f84, 0x688, 0x11d5, { 0xb2, 0xf8, 0x0, 0x1, 0x2, 0xd8, 0x71, 0x23 } };
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:
// Operations
public:
CString GetEntryName(short* Index);
unsigned long GetBackColor();
void SetBackColor(unsigned long newValue);
unsigned long GetForeColor();
void SetForeColor(unsigned long newValue);
BOOL GetEnabled();
void SetEnabled(BOOL bNewValue);
BOOL GetEnableDragDrop();
void SetEnableDragDrop(BOOL bNewValue);
LPDISPATCH GetFont();
void SetRefFont(LPDISPATCH newValue);
short GetBackStyle();
void SetBackStyle(short nNewValue);
short GetBorderStyle();
void SetBorderStyle(short nNewValue);
void LoadLegend(BOOL* ShowCheck);
void RemoveAll();
BOOL GetActive(short* Index);
void SetActive(short* Index, BOOL bNewValue);
short getActiveLayer();
void setMapSource(LPDISPATCH* map);
BOOL GetLayerVisible(short* Index);
void SetLayerVisible(short* Index, BOOL bNewValue);
BOOL GetShowLegend(short* lyrIndex);
void SetShowLegend(short* lyrIndex, BOOL bNewValue);
void ShowAllLegend();
void HideAllLegend();
BOOL ExportToBmp(BSTR* FileName, short* LayerIndex);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX__LEGEND_H__D98B1EC9_818A_40FB_9647_112C8F1EC08A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -