📄 msacc8.h
字号:
void SetOnKeyPress(LPCTSTR lpszNewValue);
};
/////////////////////////////////////////////////////////////////////////////
// _OptionGroup wrapper class
class _OptionGroup : public COleDispatchDriver
{
public:
_OptionGroup() {} // Calls COleDispatchDriver default constructor
_OptionGroup(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_OptionGroup(const _OptionGroup& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
LPDISPATCH GetParent();
void Undo();
VARIANT GetOldValue();
LPDISPATCH GetProperties();
void SizeToFit();
void Requery();
void SetFocus();
LPDISPATCH GetControls();
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 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);
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);
// 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
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);
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 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);
};
/////////////////////////////////////////////////////////////////////////////
// _BoundObjectFrame wrapper class
class _BoundObjectFrame : public COleDispatchDriver
{
public:
_BoundObjectFrame() {} // Calls COleDispatchDriver default constructor
_BoundObjectFrame(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_BoundObjectFrame(const _BoundObjectFrame& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
LPDISPATCH GetParent();
VARIANT GetOldValue();
LPDISPATCH GetObject();
CString GetObjectVerbs(long Index);
LPDISPATCH GetProperties();
void SizeToFit();
void Requery();
void SetFocus();
LPDISPATCH GetControls();
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);
// method 'GetSizeMode' not emitted because of invalid return type or parameter type
// method 'SetSizeMode' not emitted because of invalid return type or parameter type
CString GetClass();
void SetClass(LPCTSTR lpszNewValue);
CString GetSourceDoc();
void SetSourceDoc(LPCTSTR lpszNewValue);
CString GetSourceItem();
void SetSourceItem(LPCTSTR lpszNewValue);
short GetAutoActivate();
void SetAutoActivate(short nNewValue);
BOOL GetDisplayType();
void SetDisplayType(BOOL bNewValue);
short GetUpdateOptions();
void SetUpdateOptions(short nNewValue);
long GetVerb();
void SetVerb(long nNewValue);
// method 'GetOLETypeAllowed' not emitted because of invalid return type or parameter type
// method 'SetOLETypeAllowed' not emitted because of invalid return type or parameter type
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);
BOOL GetTabStop();
void SetTabStop(BOOL bNewValue);
short GetTabIndex();
void SetTabIndex(short nNewValue);
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
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);
VARIANT GetObjectPalette();
void SetObjectPalette(const VARIANT& newValue);
long GetLpOleObject();
void SetLpOleObject(long nNewValue);
long GetObjectVerbsCount();
void SetObjectVerbsCount(long nNewValue);
short GetAction();
void SetAction(short nNewValue);
// method 'GetScaling' not emitted because of invalid return type or parameter type
// method 'SetScaling' not emitted because of invalid return type or parameter type
// method 'GetOLEType' not emitted because of invalid return type or parameter type
// method 'SetOLEType' not emitted because of invalid return type or parameter type
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 GetOnUpdated();
void SetOnUpdated(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);
};
/////////////////////////////////////////////////////////////////////////////
// _Textbox wrapper class
class _Textbox : public COleDispatchDriver
{
public:
_Textbox() {} // Calls COleDispatchDriver default constructor
_Textbox(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_Textbox(const _Textbox& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
LPDISPATCH GetParent();
void Undo();
VARIANT GetOldValue();
LPDISPATCH GetProperties();
void SizeToFit();
void Requery();
void SetFocus();
LPDISPATCH GetControls();
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 GetFormat();
void SetFormat(LPCTSTR lpszNewValue);
// method 'GetDecimalPlaces' not emitted because of invalid return type or parameter type
// method 'SetDecimalPlaces' not emitted because of invalid return type or parameter type
CString GetInputMask();
void SetInputMask(LPCTSTR lpszNewValue);
CString GetDefaultValue();
void SetDefaultValue(LPCTSTR lpszNewValue);
CString GetValidationRule();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -