supergridview.h

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

H
80
字号
#if !defined(AFX_SUPERGRIDVIEW_H__3AAEAF6B_8EED_4A6F_B880_B5E440EB3784__INCLUDED_)
#define AFX_SUPERGRIDVIEW_H__3AAEAF6B_8EED_4A6F_B880_B5E440EB3784__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.

/////////////////////////////////////////////////////////////////////////////
// CSuperGridView wrapper class

class CSuperGridView : public CWnd
{
protected:
	DECLARE_DYNCREATE(CSuperGridView)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xf34b4c8c, 0xdc53, 0x4338, { 0xa2, 0x1f, 0x52, 0xa8, 0xc0, 0xcb, 0x8e, 0x3c } };
		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:
	unsigned long GetEditableItemBkColor();
	void SetEditableItemBkColor(unsigned long);
	unsigned long GetEditableItemColor();
	void SetEditableItemColor(unsigned long);
	unsigned long GetReadOnlyItemBkColor();
	void SetReadOnlyItemBkColor(unsigned long);
	unsigned long GetReadOnlyItemColor();
	void SetReadOnlyItemColor(unsigned long);
	BOOL GetReadOnly();
	void SetReadOnly(BOOL);
	BOOL GetUpdateImmediately();
	void SetUpdateImmediately(BOOL);
	long GetViewType();
	void SetViewType(long);
	BOOL GetSysFieldVisible();
	void SetSysFieldVisible(BOOL);

// Operations
public:
	BOOL Connect(LPDISPATCH objRecordset);
	BOOL PrintGrid(LPCTSTR strDocTitle);
	BOOL Update();
	BOOL Disconnect();
	BOOL MoveTo(long nPosition);
	BOOL SeekID(long ID);
	BOOL MovePrev();
	BOOL MoveNext();
	BOOL MoveFirst();
	BOOL MoveLast();
	CString GetItemValue(long nRow, long nCol);
	long GetCurRow();
	void AboutBox();
};

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

#endif // !defined(AFX_SUPERGRIDVIEW_H__3AAEAF6B_8EED_4A6F_B880_B5E440EB3784__INCLUDED_)

⌨️ 快捷键说明

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