📄 msacc8.h
字号:
short GetSection();
void SetSection(short nNewValue);
CString GetControlName();
void SetControlName(LPCTSTR lpszNewValue);
BOOL GetIsVisible();
void SetIsVisible(BOOL bNewValue);
BOOL GetInSelection();
void SetInSelection(BOOL bNewValue);
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 GetShortcutMenuBar();
void SetShortcutMenuBar(LPCTSTR lpszNewValue);
CString GetTag();
void SetTag(LPCTSTR lpszNewValue);
};
/////////////////////////////////////////////////////////////////////////////
// _Rectangle wrapper class
class _Rectangle : public COleDispatchDriver
{
public:
_Rectangle() {} // Calls COleDispatchDriver default constructor
_Rectangle(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_Rectangle(const _Rectangle& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
LPDISPATCH GetParent();
LPDISPATCH GetProperties();
void SizeToFit();
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
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
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
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 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);
};
/////////////////////////////////////////////////////////////////////////////
// _Line wrapper class
class _Line : public COleDispatchDriver
{
public:
_Line() {} // Calls COleDispatchDriver default constructor
_Line(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_Line(const _Line& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
LPDISPATCH GetParent();
LPDISPATCH GetProperties();
void SizeToFit();
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
BOOL GetLineSlant();
void SetLineSlant(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
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 '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
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);
};
/////////////////////////////////////////////////////////////////////////////
// _Image wrapper class
class _Image : public COleDispatchDriver
{
public:
_Image() {} // Calls COleDispatchDriver default constructor
_Image(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_Image(const _Image& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
LPDISPATCH GetParent();
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 GetPicture();
void SetPicture(LPCTSTR lpszNewValue);
// method 'GetPictureType' not emitted because of invalid return type or parameter type
// method 'SetPictureType' not emitted because of invalid return type or parameter type
VARIANT GetPictureData();
void SetPictureData(const VARIANT& newValue);
// method 'GetSizeMode' not emitted because of invalid return type or parameter type
// method 'SetSizeMode' not emitted because of invalid return type or parameter type
// method 'GetPictureAlignment' not emitted because of invalid return type or parameter type
// method 'SetPictureAlignment' not emitted because of invalid return type or parameter type
BOOL GetPictureTiling();
void SetPictureTiling(BOOL bNewValue);
CString GetHyperlinkAddress();
void SetHyperlinkAddress(LPCTSTR lpszNewValue);
CString GetHyperlinkSubAddress();
void SetHyperlinkSubAddress(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
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 GetControlTipText();
void SetControlTipText(LPCTSTR lpszNewValue);
long GetHelpContextId();
void SetHelpContextId(long nNewValue);
short GetSection();
void SetSection(short nNewValue);
CString GetControlName();
void SetControlName(LPCTSTR lpszNewValue);
VARIANT GetObjectPalette();
void SetObjectPalette(const VARIANT& newValue);
BOOL GetIsVisible();
void SetIsVisible(BOOL bNewValue);
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 GetShortcutMenuBar();
void SetShortcutMenuBar(LPCTSTR lpszNewValue);
long GetImageHeight();
void SetImageHeight(long nNewValue);
long GetImageWidth();
void SetImageWidth(long nNewValue);
BOOL GetInSelection();
void SetInSelection(BOOL bNewValue);
CString GetTag();
void SetTag(LPCTSTR lpszNewValue);
};
/////////////////////////////////////////////////////////////////////////////
// _CommandButton wrapper class
class _CommandButton : public COleDispatchDriver
{
public:
_CommandButton() {} // Calls COleDispatchDriver default constructor
_CommandButton(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
_CommandButton(const _CommandButton& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
LPDISPATCH GetParent();
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 GetCaption();
void SetCaption(LPCTSTR lpszNewValue);
CString GetPicture();
void SetPicture(LPCTSTR lpszNewValue);
// method 'GetPictureType' not emitted because of invalid return type or parameter type
// method 'SetPictureType' not emitted because of invalid return type or parameter type
VARIANT GetPictureData();
void SetPictureData(const VARIANT& newValue);
BOOL GetTransparent();
void SetTransparent(BOOL bNewValue);
BOOL GetDefault();
void SetDefault(BOOL bNewValue);
BOOL GetCancel();
void SetCancel(BOOL bNewValue);
BOOL GetAutoRepeat();
void SetAutoRepeat(BOOL bNewValue);
CString GetStatusBarText();
void SetStatusBarText(LPCTSTR lpszNewValue);
CString GetOnPush();
void SetOnPush(LPCTSTR lpszNewValue);
CString GetHyperlinkAddress();
void SetHyperlinkAddress(LPCTSTR lpszNewValue);
CString GetHyperlinkSubAddress();
void SetHyperlinkSubAddress(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 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);
long GetForeColor();
void SetForeColor(long nNewValue);
CString GetFontName();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -