⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _grid.h

📁 vc 和mapobjects地理信息系统组件开发 很有启发意义和参考价值
💻 H
字号:
#if !defined(AFX__GRID_H__AF1E23D0_6205_49CC_ABF7_2092EB74DC55__INCLUDED_)
#define AFX__GRID_H__AF1E23D0_6205_49CC_ABF7_2092EB74DC55__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 C_Cell;
class C_Chart;
class C_Column;
class C_ComboBox;
class C_Images;
class C_PageSetup;
class C_Range;
class C_Selection;

/////////////////////////////////////////////////////////////////////////////
// C_Grid wrapper class

class C_Grid : public CWnd
{
protected:
	DECLARE_DYNCREATE(C_Grid)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x1db1b02, 0x33b3, 0x406f, { 0x94, 0x2e, 0xd0, 0x3c, 0x9, 0xc4, 0x19, 0x11 } };
		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:
	C_Cell GetActiveCell();
	BOOL GetAllowUserResizing();
	void SetAllowUserResizing(BOOL bNewValue);
	long GetAppearance();
	void SetAppearance(long nNewValue);
	BOOL GetAutoRedraw();
	void SetAutoRedraw(BOOL bNewValue);
	unsigned long GetBackColor1();
	void SetBackColor1(unsigned long newValue);
	unsigned long GetBackColor2();
	void SetBackColor2(unsigned long newValue);
	unsigned long GetBackColorBkg();
	void SetBackColorBkg(unsigned long newValue);
	unsigned long GetBackColorFixed();
	void SetBackColorFixed(unsigned long newValue);
	unsigned long GetBackColorScrollBar();
	void SetBackColorScrollBar(unsigned long newValue);
	unsigned long GetBorderColor();
	void SetBorderColor(unsigned long newValue);
	C_Cell Cell(long Row, long Col);
	C_Chart Chart(long Row, long Col);
	long GetCols();
	void SetCols(long nNewValue);
	C_Column Column(long Col);
	C_ComboBox ComboBox(long Col);
	LPDISPATCH GetDefaultFont();
	void SetRefDefaultFont(LPDISPATCH newValue);
	BOOL GetDisplayFocusRect();
	void SetDisplayFocusRect(BOOL bNewValue);
	BOOL GetDisplayRowIndex();
	void SetDisplayRowIndex(BOOL bNewValue);
	BOOL GetEnabled();
	void SetEnabled(BOOL bNewValue);
	long GetFixedRowColStyle();
	void SetFixedRowColStyle(long nNewValue);
	unsigned long GetForeColorFixed();
	void SetForeColorFixed(unsigned long newValue);
	unsigned long GetGridColor();
	void SetGridColor(unsigned long newValue);
	C_Images GetImages();
	long GetLeftCol();
	void SetLeftCol(long nNewValue);
	C_PageSetup GetPageSetup();
	C_Range Range(long FirstRow, long FirstCol, long LastRow, long LastCol);
	BOOL GetReadOnly();
	void SetReadOnly(BOOL bNewValue);
	long GetReadOnlyFocusRect();
	void SetReadOnlyFocusRect(long nNewValue);
	long GetRowHeight(long Row);
	void SetRowHeight(long Row, long nNewValue);
	long GetRows();
	void SetRows(long nNewValue);
	long GetScrollBars();
	void SetScrollBars(long nNewValue);
	long GetScrollBarStyle();
	void SetScrollBarStyle(long nNewValue);
	C_Selection GetSelection();
	long GetSelectionMode();
	void SetSelectionMode(long nNewValue);
	long GetTopRow();
	void SetTopRow(long nNewValue);
	void About();
	void AddChart(long Row, long Col);
	void AddItem(LPCTSTR Text, BOOL DrawCell);
	void DirectPrint(const VARIANT& PageNo);
	BOOL ExportToHTML(LPCTSTR FileName);
	BOOL ExportToExcel(LPCTSTR FileName, BOOL ExportFixedRow, BOOL ExportFixedCol);
	BOOL NewFile();
	BOOL OpenFile(LPCTSTR FileName);
	void InsertCol(long StartCol, long Count);
	void InsertRow(long StartRow, long Count);
	void PrintPreview(const VARIANT& Zoom);
	void Refresh();
	void RemoveChart(long Row, long Col);
	void RemoveItem(long Index);
	BOOL SaveFile(LPCTSTR FileName);
	BOOL SetRegisterInformation(LPCTSTR RegisteredOwner, LPCTSTR SerialNumber);
};

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

#endif // !defined(AFX__GRID_H__AF1E23D0_6205_49CC_ABF7_2092EB74DC55__INCLUDED_)

⌨️ 快捷键说明

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