superlegend.h

来自「用VC+SuperMap开发的校园GIS系统」· C头文件 代码 · 共 82 行

H
82
字号
#if !defined(AFX_SUPERLEGEND_H__D3F04A1E_BBAA_41C2_8052_CDC4D5EB967C__INCLUDED_)
#define AFX_SUPERLEGEND_H__D3F04A1E_BBAA_41C2_8052_CDC4D5EB967C__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.


// Dispatch interfaces referenced by this interface
class COleFont;

/////////////////////////////////////////////////////////////////////////////
// CSuperLegend wrapper class

class CSuperLegend : public CWnd
{
protected:
	DECLARE_DYNCREATE(CSuperLegend)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xa25ae15d, 0xd563, 0x469d, { 0x81, 0x6d, 0x47, 0x7, 0xf, 0x5a, 0x1d, 0x33 } };
		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();
	COleFont GetFont();
	void SetFont(LPDISPATCH);
	OLE_COLOR GetBackColor();
	void SetBackColor(OLE_COLOR);
	OLE_COLOR GetForeColor();
	void SetForeColor(OLE_COLOR);
	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);

// Operations
public:
	BOOL Clear();
	void Refresh();
	BOOL Connect(LPDISPATCH objSuperMapCtrl);
	void Disconnect();
	void Expand();
	void AboutBox();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SUPERLEGEND_H__D3F04A1E_BBAA_41C2_8052_CDC4D5EB967C__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?