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

📄 truedbgridctrl.h

📁 研究生信息管理系统 基于VC++6.0 MFC 内附ACCESS数据库文件 一个完成工程文件 编译通过后可直接运行 (需装有SP5以上补丁)
💻 H
字号:
#if !defined(AFX_TRUEDBGRIDCTRL_H__59988CBB_990C_4033_9FA3_040C948BCC25__INCLUDED_)
#define AFX_TRUEDBGRIDCTRL_H__59988CBB_990C_4033_9FA3_040C948BCC25__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 COleFont;
class CStyleDisp;
class CColumns1;
class CSplits1;
class CStyles;
class CSelBookmarks;
class CPicture;
class CLayouts;

/////////////////////////////////////////////////////////////////////////////
// CTrueDBGridCtrl wrapper class

class CTrueDBGridCtrl : public CWnd
{
protected:
	DECLARE_DYNCREATE(CTrueDBGridCtrl)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x28c49, 0x0, 0x0, { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x46 } };
		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:
	BOOL GetAllowDelete();
	void SetAllowDelete(BOOL);
	BOOL GetAllowAddNew();
	void SetAllowAddNew(BOOL);
	BOOL GetAllowRowSizing();
	void SetAllowRowSizing(BOOL);
	BOOL GetAllowUpdate();
	void SetAllowUpdate(BOOL);
	short GetAppearance();
	void SetAppearance(short);
	short GetBorderStyle();
	void SetBorderStyle(short);
	VARIANT GetBookmark();
	void SetBookmark(const VARIANT&);
	short GetCol();
	void SetCol(short);
	BOOL GetColumnHeaders();
	void SetColumnHeaders(BOOL);
	BOOL GetCurrentCellVisible();
	void SetCurrentCellVisible(BOOL);
	BOOL GetCurrentCellModified();
	void SetCurrentCellModified(BOOL);
	BOOL GetDataChanged();
	void SetDataChanged(BOOL);
	long GetDataMode();
	void SetDataMode(long);
	LPUNKNOWN GetDataSource();
	void SetDataSource(LPUNKNOWN);
	float GetDefColWidth();
	void SetDefColWidth(float);
	BOOL GetEditActive();
	void SetEditActive(BOOL);
	BOOL GetEditDropDown();
	void SetEditDropDown(BOOL);
	BOOL GetEnabled();
	void SetEnabled(BOOL);
	BOOL GetExtendRightColumn();
	void SetExtendRightColumn(BOOL);
	VARIANT GetFirstRow();
	void SetFirstRow(const VARIANT&);
	COleFont GetHeadFont();
	void SetHeadFont(LPDISPATCH);
	float GetHeadLines();
	void SetHeadLines(float);
	OLE_HANDLE GetHWnd();
	long GetHWndEditor();
	BOOL GetMarqueeUnique();
	void SetMarqueeUnique(BOOL);
	long GetMarqueeStyle();
	void SetMarqueeStyle(long);
	BOOL GetRecordSelectors();
	void SetRecordSelectors(BOOL);
	short GetRow();
	void SetRow(short);
	long GetRowDividerStyle();
	void SetRowDividerStyle(long);
	float GetRowHeight();
	void SetRowHeight(float);
	long GetScrollBars();
	void SetScrollBars(long);
	long GetSelLength();
	void SetSelLength(long);
	long GetSelStart();
	void SetSelStart(long);
	CString GetSelText();
	void SetSelText(LPCTSTR);
	short GetSelStartCol();
	void SetSelStartCol(short);
	short GetSelEndCol();
	void SetSelEndCol(short);
	short GetSplit();
	void SetSplit(short);
	short GetVisibleCols();
	short GetVisibleRows();
	OLE_COLOR GetBackColor();
	void SetBackColor(OLE_COLOR);
	OLE_COLOR GetForeColor();
	void SetForeColor(OLE_COLOR);
	CString GetCaption();
	void SetCaption(LPCTSTR);
	COleFont GetFont();
	void SetFont(LPDISPATCH);
	short GetLeftCol();
	void SetLeftCol(short);
	BOOL GetAllowArrows();
	void SetAllowArrows(BOOL);
	long GetExposeCellMode();
	void SetExposeCellMode(long);
	BOOL GetTabAcrossSplits();
	void SetTabAcrossSplits(BOOL);
	long GetTabAction();
	void SetTabAction(long);
	BOOL GetWrapCellPointer();
	void SetWrapCellPointer(BOOL);
	CStyleDisp GetStyle();
	void SetStyle(LPDISPATCH);
	CStyleDisp GetHeadingStyle();
	void SetHeadingStyle(LPDISPATCH);
	CStyleDisp GetEditorStyle();
	void SetEditorStyle(LPDISPATCH);
	CStyleDisp GetInactiveStyle();
	void SetInactiveStyle(LPDISPATCH);
	CStyleDisp GetSelectedStyle();
	void SetSelectedStyle(LPDISPATCH);
	CStyleDisp GetCaptionStyle();
	void SetCaptionStyle(LPDISPATCH);
	CStyleDisp GetHighlightRowStyle();
	void SetHighlightRowStyle(LPDISPATCH);
	CStyleDisp GetEvenRowStyle();
	void SetEvenRowStyle(LPDISPATCH);
	CStyleDisp GetOddRowStyle();
	void SetOddRowStyle(LPDISPATCH);
	unsigned long GetHeadBackColor();
	void SetHeadBackColor(unsigned long);
	unsigned long GetHeadForeColor();
	void SetHeadForeColor(unsigned long);
	unsigned long GetEditBackColor();
	void SetEditBackColor(unsigned long);
	unsigned long GetEditForeColor();
	void SetEditForeColor(unsigned long);
	unsigned long GetInactiveBackColor();
	void SetInactiveBackColor(unsigned long);
	unsigned long GetInactiveForeColor();
	void SetInactiveForeColor(unsigned long);
	unsigned long GetSelectedBackColor();
	void SetSelectedBackColor(unsigned long);
	unsigned long GetSelectedForeColor();
	void SetSelectedForeColor(unsigned long);
	long GetApproxCount();
	void SetApproxCount(long);
	CString GetErrorText();
	long GetAddNewMode();
	BOOL GetAllowColSelect();
	void SetAllowColSelect(BOOL);
	BOOL GetAllowColMove();
	void SetAllowColMove(BOOL);
	BOOL GetAllowRowSelect();
	void SetAllowRowSelect(BOOL);
	LPUNKNOWN GetISVServices();
	CString GetText();
	void SetText(LPCTSTR);
	CString GetLayoutName();
	void SetLayoutName(LPCTSTR);
	CString GetLayoutFileName();
	void SetLayoutFileName(LPCTSTR);
	BOOL GetMultipleLines();
	void SetMultipleLines(BOOL);
	LPDISPATCH GetArray();
	void SetArray(LPDISPATCH);
	BOOL GetEmptyRows();
	void SetEmptyRows(BOOL);
	long GetCellTips();
	void SetCellTips(long);
	float GetVScrollWidth();
	float GetHScrollHeight();
	BOOL GetBof();
	BOOL GetEof();
	BOOL GetFetchRowStyle();
	void SetFetchRowStyle(BOOL);
	BOOL GetAlternatingRowStyle();
	void SetAlternatingRowStyle(BOOL);
	float GetCellTipsWidth();
	void SetCellTipsWidth(float);
	long GetCellTipsDelay();
	void SetCellTipsDelay(long);

// Operations
public:
	void AboutBox();
	CColumns1 GetColumns();
	CSplits1 GetSplits();
	CStyles GetStyles();
	CSelBookmarks GetSelBookmarks();
	short ColContaining(float X);
	VARIANT GetBookmark(long RowNum);
	void ReBind();
	VARIANT RowBookmark(short RowNum);
	short RowContaining(float Y);
	float RowTop(short RowNum);
	void Scroll(long Cols, long Rows);
	void Refresh();
	CPicture CaptureImage();
	void AddCellStyle(short Condition, const VARIANT& Style);
	void AddRegexCellStyle(short Condition, const VARIANT& Style, LPCTSTR Regex);
	void ClearCellStyle(short Condition);
	void ClearRegexCellStyle(short Condition, const VARIANT& Regex);
	void ClearSelCols();
	void ClearFields();
	void HoldFields();
	short SplitContaining(float X, float Y);
	void PostMsg(short MsgId);
	void Update();
	void MoveRelative(long offset, const VARIANT& Bookmark);
	void MoveFirst();
	void MoveLast();
	void MoveNext();
	void MovePrevious();
	void Delete();
	void Close(const VARIANT& Repaint);
	void ReOpen(const VARIANT& Bookmark);
	void LoadLayout();
	CLayouts GetLayouts();
};

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

#endif // !defined(AFX_TRUEDBGRIDCTRL_H__59988CBB_990C_4033_9FA3_040C948BCC25__INCLUDED_)

⌨️ 快捷键说明

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