mapinfow.h

来自「VC开发MapInfo OLE的例子(MDI]」· C头文件 代码 · 共 122 行

H
122
字号
// Machine generated IDispatch driver class(es) created with MFCDSPWZ tool.
#if !defined MAPINFOW_H
#define MAPINFOW_H

/////////////////////////////////////////////////////////////////////////////
// DMapInfo wrapper class

class DMapInfo : public COleDispatchDriver
{
// Attributes
public:

// Operations
public:
	// method 'QueryInterface' not emitted because of invalid return type
	// method 'AddRef' not emitted because of invalid return type
	// method 'Release' not emitted because of invalid return type
	LPDISPATCH GetApplication();
	LPDISPATCH GetParent();
	CString GetName();
	CString GetFullName();
	CString GetVersion();
	BOOL GetVisible();
	void SetVisible(BOOL bNewValue);
	long GetLastErrorCode();
	void SetLastErrorCode(long nNewValue);
	CString GetLastErrorMessage();
	LPDISPATCH GetMBApplications();
	void Do(LPCTSTR command);
	CString Eval(LPCTSTR expression);
	void RunCommand(LPCTSTR command);
	void RunMenuCommand(short id);
	LPUNKNOWN DataObject(long windowID);
	void SetCallback(LPDISPATCH callbackobject);
};
/////////////////////////////////////////////////////////////////////////////
// DMBApplications wrapper class

class DMBApplications : public COleDispatchDriver
{
// Attributes
public:

// Operations
public:
	// method 'QueryInterface' not emitted because of invalid return type
	// method 'AddRef' not emitted because of invalid return type
	// method 'Release' not emitted because of invalid return type
	LPDISPATCH GetApplication();
	LPDISPATCH GetParent();
	long GetCount();
	LPDISPATCH Item(const VARIANT& index);
	LPUNKNOWN Get_NewEnum();
};
/////////////////////////////////////////////////////////////////////////////
// DMapBasicApplication wrapper class

class DMapBasicApplication : public COleDispatchDriver
{
// Attributes
public:

// Operations
public:
	// method 'QueryInterface' not emitted because of invalid return type
	// method 'AddRef' not emitted because of invalid return type
	// method 'Release' not emitted because of invalid return type
	LPDISPATCH GetApplication();
	LPDISPATCH GetParent();
	CString GetName();
	CString GetFullName();
	LPDISPATCH GetMBGlobals();
	void Do(LPCTSTR command);
	CString Eval(LPCTSTR expression);
};
/////////////////////////////////////////////////////////////////////////////
// DMBGlobals wrapper class

class DMBGlobals : public COleDispatchDriver
{
// Attributes
public:

// Operations
public:
	// method 'QueryInterface' not emitted because of invalid return type
	// method 'AddRef' not emitted because of invalid return type
	// method 'Release' not emitted because of invalid return type
	LPDISPATCH GetApplication();
	LPDISPATCH GetParent();
	long GetCount();
	LPDISPATCH Item(const VARIANT& index);
	LPUNKNOWN Get_NewEnum();
};
/////////////////////////////////////////////////////////////////////////////
// DMBGlobal wrapper class

class DMBGlobal : public COleDispatchDriver
{
// Attributes
public:

// Operations
public:
	// method 'QueryInterface' not emitted because of invalid return type
	// method 'AddRef' not emitted because of invalid return type
	// method 'Release' not emitted because of invalid return type
	LPDISPATCH GetApplication();
	LPDISPATCH GetParent();
	CString GetName();
	CString GetType();
	CString GetValue();
	void SetValue(LPCTSTR lpszNewValue);
};

// ADDED FOR INTEGRATED MAPPING SUPPORT
extern DMapInfo mapinfo;
#include "mapbasic.h"
// END OF ADDITION FOR INTEGRATED MAPPING SUPPORT

#endif /* !defined MAPINFOW_H */

⌨️ 快捷键说明

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