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

📄 _grid.h

📁 一个简单的学生学籍管理工具。vc编写。 有喜欢的可以批评指正^_^
💻 H
字号:
#if !defined(AFX__GRID_H__64F21896_C8AA_448E_A45A_B9085FBFC61B__INCLUDED_)
#define AFX__GRID_H__64F21896_C8AA_448E_A45A_B9085FBFC61B__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 CChoiceManager;

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

class C_Grid : public CWnd
{
protected:
	DECLARE_DYNCREATE(C_Grid)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x277fc3f2, 0xe90f, 0x11d0, { 0xb7, 0x67, 0x0, 0x0, 0xf8, 0x1e, 0x8, 0x1d } };
		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:
	VARIANT GetServiceProvider();
	void SetServiceProvider(const VARIANT& newValue);
	CChoiceManager GetChoiceManager();
	CString GetDataConnection();
	void SetDataConnection(LPCTSTR lpszNewValue);
	CString GetRecordset();
	void SetRecordset(LPCTSTR lpszNewValue);
	CString GetRecordSourceType();
	void SetRecordSourceType(LPCTSTR lpszNewValue);
	CString GetColumnNames(short* intColumnIndex);
	void SetColumnNames(short* intColumnIndex, LPCTSTR lpszNewValue);
	LPDISPATCH GetGridColumns(short* intColumnIndex);
	void SetGridColumns(short* intColumnIndex, LPDISPATCH newValue);
	short GetColumnCount();
	void SetColumnCount(short nNewValue);
	CString GetGridStyles(short* intIndex);
	void SetGridStyles(short* intIndex, LPCTSTR lpszNewValue);
	CString GetCurrentStyle();
	void SetCurrentStyle(BSTR* newValue);
	long GetWidthSelectionMode();
	void SetWidthSelectionMode(long* newValue);
	long GetCurWidth();
	void SetCurWidth(long* newValue);
	BOOL GetUseHeader();
	void SetUseHeader(BOOL* newValue);
	CString GetId();
	void SetId(LPCTSTR lpszNewValue);
	CString GetGridBackColor();
	void SetGridBackColor(BSTR* newValue);
	CString GetAltRowBckgnd();
	void SetAltRowBckgnd(BSTR* newValue);
	CString GetTitleBackColor();
	void SetTitleBackColor(BSTR* newValue);
	CString GetTitleFontColor();
	void SetTitleFontColor(BSTR* newValue);
	short GetCellSpacing();
	void SetCellSpacing(short* newValue);
	short GetBorderSize();
	void SetBorderSize(short* newValue);
	CString GetBorderColor();
	void SetBorderColor(BSTR* newValue);
	long GetStyleValue();
	void SetStyleValue(long* newValue);
	BOOL GetStyleChanged();
	void SetStyleChanged(BOOL* newValue);
	CString GetShadowColor3D();
	void SetShadowColor3D(BSTR* newValue);
	CString GetHighlightColor3D();
	void SetHighlightColor3D(BSTR* newValue);
	long GetRowAlignment();
	void SetRowAlignment(long* newValue);
	CString GetRowBackColor();
	void SetRowBackColor(BSTR* newValue);
	CString GetRowFont();
	void SetRowFont(BSTR* newValue);
	short GetRowFontSize();
	void SetRowFontSize(short* newValue);
	long GetRowFontStyle();
	void SetRowFontStyle(long* newValue);
	CString GetRowFontColor();
	void SetRowFontColor(BSTR* newValue);
	CString GetTitleFont();
	void SetTitleFont(BSTR* newValue);
	short GetTitleFontSize();
	void SetTitleFontSize(short* newValue);
	long GetTitleAlignment();
	void SetTitleAlignment(long* newValue);
	long GetTitleFontStyle();
	void SetTitleFontStyle(long* newValue);
	BOOL GetEnableRowNav();
	void SetEnableRowNav(BOOL* newValue);
	BOOL GetRecNavBarHasNextButton();
	void SetRecNavBarHasNextButton(BOOL* newValue);
	BOOL GetRecNavBarHasPrevButton();
	void SetRecNavBarHasPrevButton(BOOL* newValue);
	CString GetHiliteColor();
	void SetHiliteColor(BSTR* newValue);
	CString GetRecNavBarNextText();
	void SetRecNavBarNextText(BSTR* newValue);
	CString GetRecNavBarPrevText();
	void SetRecNavBarPrevText(BSTR* newValue);
	short GetPageSize();
	void SetPageSize(short* newValue);
	CString GetMoveNext();
	void SetMoveNext(BSTR* newValue);
	CString GetMovePrev();
	void SetMovePrev(BSTR* newValue);
	CString GetMoveLast();
	void SetMoveLast(BSTR* newValue);
	CString GetMoveFirst();
	void SetMoveFirst(BSTR* newValue);
	BOOL GetEnablePaging();
	void SetEnablePaging(BOOL* newValue);
	BOOL GetShowStatus();
	void SetShowStatus(BOOL* newValue);
	long GetNavBarAlignment();
	void SetNavBarAlignment(long* newValue);
	CString GetAdvTableTag();
	void SetAdvTableTag(BSTR* newValue);
	CString GetAdvHeaderCellTag();
	void SetAdvHeaderCellTag(BSTR* newValue);
	CString GetAdvHeaderRowTag();
	void SetAdvHeaderRowTag(BSTR* newValue);
	CString GetAdvDetailRowTag();
	void SetAdvDetailRowTag(BSTR* newValue);
	CString GetAdvDetailCellTag();
	void SetAdvDetailCellTag(BSTR* newValue);
	long GetScriptLanguage();
	void SetScriptLanguage(long* newValue);
	long GetScriptingPlatform();
	void SetScriptingPlatform(long* newValue);
	VARIANT InsertColumn(short* iIndex);
	VARIANT DeleteColumn(short* iIndex);
	CString IProvideRuntimeText_GetRuntimeText();
	void UpdateEnviromentDefaults();
	void WriteColInfo(LPDISPATCH* PropBag);
	void ReadColInfo(LPDISPATCH* PropBag);
};

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

#endif // !defined(AFX__GRID_H__64F21896_C8AA_448E_A45A_B9085FBFC61B__INCLUDED_)

⌨️ 快捷键说明

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