?? dbgrid32.h
字號:
// Machine generated IDispatch wrapper class(es) created with ClassWizard
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// Column wrapper class
class Column : public COleDispatchDriver
{
public:
Column() {} // Calls COleDispatchDriver default constructor
Column(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
Column(const Column& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
long GetAlignment();
void SetAlignment(long);
BOOL GetAllowSizing();
void SetAllowSizing(BOOL);
long GetDividerStyle();
void SetDividerStyle(long);
CString GetCaption();
void SetCaption(LPCTSTR);
BOOL GetDataChanged();
CString GetDataField();
void SetDataField(LPCTSTR);
VARIANT GetDefaultValue();
void SetDefaultValue(const VARIANT&);
short GetColIndex();
float GetLeft();
BOOL GetLocked();
void SetLocked(BOOL);
CString GetNumberFormat();
void SetNumberFormat(LPCTSTR);
CString GetText();
void SetText(LPCTSTR);
float GetTop();
VARIANT GetValue();
void SetValue(const VARIANT&);
BOOL GetVisible();
void SetVisible(BOOL);
float GetWidth();
void SetWidth(float);
BOOL GetWrapText();
void SetWrapText(BOOL);
BOOL GetButton();
void SetButton(BOOL);
// Operations
public:
CString CellText(const VARIANT& Bookmark);
VARIANT CellValue(const VARIANT& Bookmark);
};
/////////////////////////////////////////////////////////////////////////////
// Columns wrapper class
class Columns : public COleDispatchDriver
{
public:
Columns() {} // Calls COleDispatchDriver default constructor
Columns(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
Columns(const Columns& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
long GetCount();
// Operations
public:
LPUNKNOWN Get_NewEnum();
LPDISPATCH GetItem(const VARIANT& Index);
void SetAdd(short Index);
LPDISPATCH GetAdd(short Index);
void Remove(const VARIANT& Index);
};
/////////////////////////////////////////////////////////////////////////////
// SelBookmarks wrapper class
class SelBookmarks : public COleDispatchDriver
{
public:
SelBookmarks() {} // Calls COleDispatchDriver default constructor
SelBookmarks(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
SelBookmarks(const SelBookmarks& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
long GetCount();
// Operations
public:
LPUNKNOWN Get_NewEnum();
VARIANT GetItem(const VARIANT& Index);
void Add(const VARIANT& Bookmark);
void Remove(const VARIANT& Index);
};
/////////////////////////////////////////////////////////////////////////////
// RowBuffer wrapper class
class RowBuffer : public COleDispatchDriver
{
public:
RowBuffer() {} // Calls COleDispatchDriver default constructor
RowBuffer(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
RowBuffer(const RowBuffer& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
long GetRowCount();
void SetRowCount(long);
short GetColumnCount();
// Operations
public:
void SetBookmark(long Row, const VARIANT& newValue);
VARIANT GetBookmark(long Row);
CString GetColumnName(short Col);
void SetValue(long Row, short Col, const VARIANT& newValue);
VARIANT GetValue(long Row, short Col);
};
/////////////////////////////////////////////////////////////////////////////
// DBGridEvents wrapper class
class DBGridEvents : public COleDispatchDriver
{
public:
DBGridEvents() {} // Calls COleDispatchDriver default constructor
DBGridEvents(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
DBGridEvents(const DBGridEvents& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
void Click();
void DblClick();
void AfterColUpdate(short ColIndex);
void AfterDelete();
void AfterInsert();
void AfterUpdate();
void BeforeColUpdate(short ColIndex, VARIANT* OldValue, short* Cancel);
void BeforeDelete(short* Cancel);
void BeforeInsert(short* Cancel);
void BeforeUpdate(short* Cancel);
void ColResize(short ColIndex, short* Cancel);
void HeadClick(short ColIndex);
void RowColChange(VARIANT* LastRow, short LastCol);
void RowResize(short* Cancel);
void Scroll(short* Cancel);
void SelChange(short* Cancel);
void SplitChange();
void MouseMove(short Button, short Shift, long X, long Y);
void MouseDown(short Button, short Shift, long X, long Y);
void MouseUp(short Button, short Shift, long X, long Y);
void KeyUp(short* KeyCode, short Shift);
void KeyDown(short* KeyCode, short Shift);
void KeyPress(short* KeyAscii);
void Change();
void UnboundGetRelativeBookmark(VARIANT* StartLocation, long OffSet, VARIANT* NewLocation, long* ApproximatePosition);
void UnboundReadData(LPDISPATCH RowBuf, VARIANT* StartLocation, BOOL ReadPriorRows);
void UnboundWriteData(LPDISPATCH RowBuf, VARIANT* WriteLocation);
void UnboundAddData(LPDISPATCH RowBuf, VARIANT* NewRowBookmark);
void UnboundDeleteRow(VARIANT* Bookmark);
void Error(short DataError, short* Response);
void AfterColEdit(short ColIndex);
void BeforeColEdit(short ColIndex, short KeyAscii, short* Cancel);
void ColEdit(short ColIndex);
void ButtonClick(short ColIndex);
void OnAddNew();
};
/////////////////////////////////////////////////////////////////////////////
// Splits wrapper class
class Splits : public COleDispatchDriver
{
public:
Splits() {} // Calls COleDispatchDriver default constructor
Splits(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
Splits(const Splits& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
long GetCount();
// Operations
public:
LPUNKNOWN Get_NewEnum();
LPDISPATCH GetItem(const VARIANT& Index);
void SetAdd(short Index);
LPDISPATCH GetAdd(short Index);
void Remove(const VARIANT& Index);
};
/////////////////////////////////////////////////////////////////////////////
// Split wrapper class
class Split : public COleDispatchDriver
{
public:
Split() {} // Calls COleDispatchDriver default constructor
Split(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
Split(const Split& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
BOOL GetLocked();
void SetLocked(BOOL);
short GetIndex();
short GetScrollGroup();
void SetScrollGroup(short);
long GetMarqueeStyle();
void SetMarqueeStyle(long);
BOOL GetAllowSizing();
void SetAllowSizing(BOOL);
BOOL GetAllowFocus();
void SetAllowFocus(BOOL);
long GetSizeMode();
void SetSizeMode(long);
VARIANT GetSize();
void SetSize(const VARIANT&);
BOOL GetAllowRowSizing();
void SetAllowRowSizing(BOOL);
BOOL GetRecordSelectors();
void SetRecordSelectors(BOOL);
long GetScrollBars();
void SetScrollBars(long);
BOOL GetCurrentCellVisible();
void SetCurrentCellVisible(BOOL);
VARIANT GetFirstRow();
void SetFirstRow(const VARIANT&);
short GetLeftCol();
void SetLeftCol(short);
short GetSelStartCol();
void SetSelStartCol(short);
short GetSelEndCol();
void SetSelEndCol(short);
// Operations
public:
LPDISPATCH GetColumns(const VARIANT& Index);
void ClearSelCols();
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -