📄 msacc8.h
字号:
void SetValidationRule(LPCTSTR lpszNewValue);
CString GetValidationText();
void SetValidationText(LPCTSTR lpszNewValue);
CString GetStatusBarText();
void SetStatusBarText(LPCTSTR lpszNewValue);
BOOL GetEnterKeyBehavior();
void SetEnterKeyBehavior(BOOL bNewValue);
BOOL GetAllowAutoCorrect();
void SetAllowAutoCorrect(BOOL bNewValue);
BOOL GetVisible();
void SetVisible(BOOL bNewValue);
// method 'GetDisplayWhen' not emitted because of invalid return type or parameter type
// method 'SetDisplayWhen' not emitted because of invalid return type or parameter type
BOOL GetEnabled();
void SetEnabled(BOOL bNewValue);
BOOL GetLocked();
void SetLocked(BOOL bNewValue);
// method 'GetFilterLookup' not emitted because of invalid return type or parameter type
// method 'SetFilterLookup' not emitted because of invalid return type or parameter type
BOOL GetAutoTab();
void SetAutoTab(BOOL bNewValue);
BOOL GetTabStop();
void SetTabStop(BOOL bNewValue);
short GetTabIndex();
void SetTabIndex(short nNewValue);
// method 'GetScrollBars' not emitted because of invalid return type or parameter type
// method 'SetScrollBars' not emitted because of invalid return type or parameter type
BOOL GetHideDuplicates();
void SetHideDuplicates(BOOL bNewValue);
BOOL GetCanGrow();
void SetCanGrow(BOOL bNewValue);
BOOL GetCanShrink();
void SetCanShrink(BOOL bNewValue);
// method 'GetRunningSum' not emitted because of invalid return type or parameter type
// method 'SetRunningSum' not emitted because of invalid return type or parameter type
short GetLeft();
void SetLeft(short nNewValue);
short GetTop();
void SetTop(short nNewValue);
short GetWidth();
void SetWidth(short nNewValue);
short GetHeight();
void SetHeight(short nNewValue);
// method 'GetBackStyle' not emitted because of invalid return type or parameter type
// method 'SetBackStyle' not emitted because of invalid return type or parameter type
long GetBackColor();
void SetBackColor(long nNewValue);
// method 'GetSpecialEffect' not emitted because of invalid return type or parameter type
// method 'SetSpecialEffect' not emitted because of invalid return type or parameter type
// method 'GetBorderStyle' not emitted because of invalid return type or parameter type
// method 'SetBorderStyle' not emitted because of invalid return type or parameter type
// method 'GetOldBorderStyle' not emitted because of invalid return type or parameter type
// method 'SetOldBorderStyle' not emitted because of invalid return type or parameter type
long GetBorderColor();
void SetBorderColor(long nNewValue);
// method 'GetBorderWidth' not emitted because of invalid return type or parameter type
// method 'SetBorderWidth' not emitted because of invalid return type or parameter type
long GetForeColor();
void SetForeColor(long nNewValue);
CString GetFontName();
void SetFontName(LPCTSTR lpszNewValue);
short GetFontSize();
void SetFontSize(short nNewValue);
short GetFontWeight();
void SetFontWeight(short nNewValue);
BOOL GetFontItalic();
void SetFontItalic(BOOL bNewValue);
BOOL GetFontUnderline();
void SetFontUnderline(BOOL bNewValue);
// method 'GetTextAlign' not emitted because of invalid return type or parameter type
// method 'SetTextAlign' not emitted because of invalid return type or parameter type
short GetFontBold();
void SetFontBold(short nNewValue);
CString GetShortcutMenuBar();
void SetShortcutMenuBar(LPCTSTR lpszNewValue);
CString GetControlTipText();
void SetControlTipText(LPCTSTR lpszNewValue);
long GetHelpContextId();
void SetHelpContextId(long nNewValue);
short GetColumnWidth();
void SetColumnWidth(short nNewValue);
short GetColumnOrder();
void SetColumnOrder(short nNewValue);
BOOL GetColumnHidden();
void SetColumnHidden(BOOL bNewValue);
BOOL GetAutoLabel();
void SetAutoLabel(BOOL bNewValue);
BOOL GetAddColon();
void SetAddColon(BOOL bNewValue);
short GetLabelX();
void SetLabelX(short nNewValue);
short GetLabelY();
void SetLabelY(short nNewValue);
// method 'GetLabelAlign' not emitted because of invalid return type or parameter type
// method 'SetLabelAlign' not emitted because of invalid return type or parameter type
short GetSection();
void SetSection(short nNewValue);
CString GetControlName();
void SetControlName(LPCTSTR lpszNewValue);
CString GetTag();
void SetTag(LPCTSTR lpszNewValue);
CString GetText();
void SetText(LPCTSTR lpszNewValue);
CString GetSelText();
void SetSelText(LPCTSTR lpszNewValue);
short GetSelStart();
void SetSelStart(short nNewValue);
short GetSelLength();
void SetSelLength(short nNewValue);
BOOL GetIsVisible();
void SetIsVisible(BOOL bNewValue);
BOOL GetInSelection();
void SetInSelection(BOOL bNewValue);
CString GetBeforeUpdate();
void SetBeforeUpdate(LPCTSTR lpszNewValue);
CString GetAfterUpdate();
void SetAfterUpdate(LPCTSTR lpszNewValue);
CString GetOnChange();
void SetOnChange(LPCTSTR lpszNewValue);
CString GetOnEnter();
void SetOnEnter(LPCTSTR lpszNewValue);
CString GetOnExit();
void SetOnExit(LPCTSTR lpszNewValue);
CString GetOnGotFocus();
void SetOnGotFocus(LPCTSTR lpszNewValue);
CString GetOnLostFocus();
void SetOnLostFocus(LPCTSTR lpszNewValue);
CString GetOnClick();
void SetOnClick(LPCTSTR lpszNewValue);
CString GetOnDblClick();
void SetOnDblClick(LPCTSTR lpszNewValue);
CString GetOnMouseDown();
void SetOnMouseDown(LPCTSTR lpszNewValue);
CString GetOnMouseMove();
void SetOnMouseMove(LPCTSTR lpszNewValue);
CString GetOnMouseUp();
void SetOnMouseUp(LPCTSTR lpszNewValue);
CString GetOnKeyDown();
void SetOnKeyDown(LPCTSTR lpszNewValue);
CString GetOnKeyUp();
void SetOnKeyUp(LPCTSTR lpszNewValue);
CString GetOnKeyPress();
void SetOnKeyPress(LPCTSTR lpszNewValue);
};
/////////////////////////////////////////////////////////////////////////////
// _ListBox wrapper class
class _ListBox : public COleDispatchDriver
{
public:
_ListBox() {} // Calls COleDispatchDriver default constructor
_ListBox(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_ListBox(const _ListBox& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
LPDISPATCH GetParent();
void Undo();
VARIANT GetColumn(long Index, const VARIANT& Row);
long GetSelected(long lRow);
void SetSelected(long lRow, long nNewValue);
VARIANT GetOldValue();
VARIANT GetItemData(long Index);
LPDISPATCH GetProperties();
void SizeToFit();
void Requery();
void SetFocus();
LPDISPATCH GetControls();
LPDISPATCH GetItemsSelected();
LPDISPATCH GetHyperlink();
VARIANT GetValue();
void SetValue(const VARIANT& newValue);
CString GetEventProcPrefix();
void SetEventProcPrefix(LPCTSTR lpszNewValue);
CString GetName();
void SetName(LPCTSTR lpszNewValue);
// method 'GetControlType' not emitted because of invalid return type or parameter type
// method 'SetControlType' not emitted because of invalid return type or parameter type
CString GetControlSource();
void SetControlSource(LPCTSTR lpszNewValue);
CString GetRowSourceType();
void SetRowSourceType(LPCTSTR lpszNewValue);
CString GetRowSource();
void SetRowSource(LPCTSTR lpszNewValue);
short GetColumnCount();
void SetColumnCount(short nNewValue);
BOOL GetColumnHeads();
void SetColumnHeads(BOOL bNewValue);
CString GetColumnWidths();
void SetColumnWidths(LPCTSTR lpszNewValue);
long GetBoundColumn();
void SetBoundColumn(long nNewValue);
CString GetDefaultValue();
void SetDefaultValue(LPCTSTR lpszNewValue);
CString GetValidationRule();
void SetValidationRule(LPCTSTR lpszNewValue);
CString GetValidationText();
void SetValidationText(LPCTSTR lpszNewValue);
CString GetStatusBarText();
void SetStatusBarText(LPCTSTR lpszNewValue);
BOOL GetVisible();
void SetVisible(BOOL bNewValue);
// method 'GetDisplayWhen' not emitted because of invalid return type or parameter type
// method 'SetDisplayWhen' not emitted because of invalid return type or parameter type
BOOL GetEnabled();
void SetEnabled(BOOL bNewValue);
BOOL GetLocked();
void SetLocked(BOOL bNewValue);
// method 'GetMultiSelect' not emitted because of invalid return type or parameter type
// method 'SetMultiSelect' not emitted because of invalid return type or parameter type
BOOL GetTabStop();
void SetTabStop(BOOL bNewValue);
short GetTabIndex();
void SetTabIndex(short nNewValue);
BOOL GetHideDuplicates();
void SetHideDuplicates(BOOL bNewValue);
short GetLeft();
void SetLeft(short nNewValue);
short GetTop();
void SetTop(short nNewValue);
short GetWidth();
void SetWidth(short nNewValue);
short GetHeight();
void SetHeight(short nNewValue);
long GetBackColor();
void SetBackColor(long nNewValue);
// method 'GetSpecialEffect' not emitted because of invalid return type or parameter type
// method 'SetSpecialEffect' not emitted because of invalid return type or parameter type
// method 'GetBorderStyle' not emitted because of invalid return type or parameter type
// method 'SetBorderStyle' not emitted because of invalid return type or parameter type
// method 'GetOldBorderStyle' not emitted because of invalid return type or parameter type
// method 'SetOldBorderStyle' not emitted because of invalid return type or parameter type
// method 'GetBorderWidth' not emitted because of invalid return type or parameter type
// method 'SetBorderWidth' not emitted because of invalid return type or parameter type
long GetBorderColor();
void SetBorderColor(long nNewValue);
long GetForeColor();
void SetForeColor(long nNewValue);
CString GetFontName();
void SetFontName(LPCTSTR lpszNewValue);
short GetFontSize();
void SetFontSize(short nNewValue);
short GetFontWeight();
void SetFontWeight(short nNewValue);
BOOL GetFontItalic();
void SetFontItalic(BOOL bNewValue);
BOOL GetFontUnderline();
void SetFontUnderline(BOOL bNewValue);
short GetFontBold();
void SetFontBold(short nNewValue);
CString GetShortcutMenuBar();
void SetShortcutMenuBar(LPCTSTR lpszNewValue);
CString GetControlTipText();
void SetControlTipText(LPCTSTR lpszNewValue);
long GetHelpContextId();
void SetHelpContextId(long nNewValue);
short GetColumnWidth();
void SetColumnWidth(short nNewValue);
short GetColumnOrder();
void SetColumnOrder(short nNewValue);
BOOL GetColumnHidden();
void SetColumnHidden(BOOL bNewValue);
BOOL GetAutoLabel();
void SetAutoLabel(BOOL bNewValue);
BOOL GetAddColon();
void SetAddColon(BOOL bNewValue);
short GetLabelX();
void SetLabelX(short nNewValue);
short GetLabelY();
void SetLabelY(short nNewValue);
// method 'GetLabelAlign' not emitted because of invalid return type or parameter type
// method 'SetLabelAlign' not emitted because of invalid return type or parameter type
short GetSection();
void SetSection(short nNewValue);
CString GetControlName();
void SetControlName(LPCTSTR lpszNewValue);
CString GetTag();
void SetTag(LPCTSTR lpszNewValue);
long GetListCount();
void SetListCount(long nNewValue);
long GetListIndex();
void SetListIndex(long nNewValue);
BOOL GetIsVisible();
void SetIsVisible(BOOL bNewValue);
BOOL GetInSelection();
void SetInSelection(BOOL bNewValue);
CString GetBeforeUpdate();
void SetBeforeUpdate(LPCTSTR lpszNewValue);
CString GetAfterUpdate();
void SetAfterUpdate(LPCTSTR lpszNewValue);
CString GetOnEnter();
void SetOnEnter(LPCTSTR lpszNewValue);
CString GetOnExit();
void SetOnExit(LPCTSTR lpszNewValue);
CString GetOnGotFocus();
void SetOnGotFocus(LPCTSTR lpszNewValue);
CString GetOnLostFocus();
void SetOnLostFocus(LPCTSTR lpszNewValue);
CString GetOnClick();
void SetOnClick(LPCTSTR lpszNewValue);
CString GetOnDblClick();
void SetOnDblClick(LPCTSTR lpszNewValue);
CString GetOnMouseDown();
void SetOnMouseDown(LPCTSTR lpszNewValue);
CString GetOnMouseMove();
void SetOnMouseMove(LPCTSTR lpszNewValue);
CString GetOnMouseUp();
void SetOnMouseUp(LPCTSTR lpszNewValue);
CString GetOnKeyDown();
void SetOnKeyDown(LPCTSTR lpszNewValue);
CString GetOnKeyUp();
void SetOnKeyUp(LPCTSTR lpszNewValue);
CString GetOnKeyPress();
void SetOnKeyPress(LPCTSTR lpszNewValue);
};
/////////////////////////////////////////////////////////////////////////////
// _Combobox wrapper class
class _Combobox : public COleDispatchDriver
{
public:
_Combobox() {} // Calls COleDispatchDriver default constructor
_Combobox(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_Combobox(const _Combobox& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetAppli
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -