aguiax2dcntrl.h

来自「本代码为使用vc平台开发stk软件x插件的一个范例。」· C头文件 代码 · 共 55 行

H
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.

#ifndef ___D_
#define ___D_

// Dispatch interfaces referenced by this interface
class CAgPickInfoData;
class CAgSTKXApplication;

/////////////////////////////////////////////////////////////////////////////
// CAgUiAx2DCntrl wrapper class

class CAgUiAx2DCntrl : public CWnd
{
protected:
	DECLARE_DYNCREATE(CAgUiAx2DCntrl)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x3126e55d, 0x1a04, 0x4317, { 0x95, 0x1e, 0xca, 0x9, 0x3b, 0xe7, 0x16, 0xaf } };
		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:
	long GetWinID();
	void SetWinID(long nNewValue);
	void ZoomIn();
	void ZoomOut();
	CAgPickInfoData PickInfo(long x, long y);
	CAgSTKXApplication GetApplication();
};

#endif

⌨️ 快捷键说明

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