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

📄 _button.h

📁 是一个运动控制器的实验平台软件,主要通过编程实现伺服/步进电机的不同控制模式.
💻 H
字号:
#if !defined(AFX__BUTTON_H__40EC8742_E4A8_4FA0_92CF_B2165C7CA873__INCLUDED_)
#define AFX__BUTTON_H__40EC8742_E4A8_4FA0_92CF_B2165C7CA873__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 CPicture;

/////////////////////////////////////////////////////////////////////////////
// C_Button wrapper class

class C_Button : public CWnd
{
protected:
	DECLARE_DYNCREATE(C_Button)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xbf661193, 0xfe9e, 0x4ec5, { 0xb4, 0xbe, 0xbd, 0xa9, 0x1c, 0xf3, 0x82, 0x9e } };
		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:

// Operations
public:
	void CoolInit(LPCTSTR sUserName, LPCTSTR sUserKey);
	unsigned long GetBackColor();
	void SetBackColor(unsigned long newValue);
	unsigned long GetBackOver();
	void SetBackOver(unsigned long newValue);
	unsigned long GetForeColor();
	void SetForeColor(unsigned long newValue);
	unsigned long GetForeOver();
	void SetForeOver(unsigned long newValue);
	unsigned long GetMaskColor();
	void SetMaskColor(unsigned long newValue);
	long GetButtonType();
	void SetButtonType(long nNewValue);
	CString GetCaption();
	void SetCaption(LPCTSTR lpszNewValue);
	BOOL GetEnabled();
	void SetEnabled(BOOL bNewValue);
	COleFont GetFont();
	void SetRefFont(LPDISPATCH* newValue);
	BOOL GetFontBold();
	void SetFontBold(BOOL bNewValue);
	BOOL GetFontItalic();
	void SetFontItalic(BOOL bNewValue);
	BOOL GetFontUnderline();
	void SetFontUnderline(BOOL bNewValue);
	short GetFontSize();
	void SetFontSize(short nNewValue);
	CString GetFontName();
	void SetFontName(LPCTSTR lpszNewValue);
	long GetColorScheme();
	void SetColorScheme(long nNewValue);
	BOOL GetShowFocusRect();
	void SetShowFocusRect(BOOL bNewValue);
	long GetMousePointer();
	void SetMousePointer(long nNewValue);
	CPicture GetMouseIcon();
	void SetRefMouseIcon(LPDISPATCH newValue);
	BOOL GetHandPointer();
	void SetHandPointer(BOOL bNewValue);
	long GetHwnd();
	BOOL GetSoftBevel();
	void SetSoftBevel(BOOL bNewValue);
	CPicture GetPictureNormal();
	void SetRefPictureNormal(LPDISPATCH newValue);
	CPicture GetPictureOver();
	void SetRefPictureOver(LPDISPATCH newValue);
	long GetPicturePosition();
	void SetPicturePosition(long nNewValue);
	BOOL GetUseMaskColor();
	void SetUseMaskColor(BOOL bNewValue);
	BOOL GetUseGreyscale();
	void SetUseGreyscale(BOOL bNewValue);
	long GetSpecialEffect();
	void SetSpecialEffect(long nNewValue);
	BOOL GetCheckBoxBehaviour();
	void SetCheckBoxBehaviour(BOOL bNewValue);
	BOOL GetValue();
	void SetValue(BOOL bNewValue);
	unsigned long GetTTSBackColor();
	void SetTTSBackColor(unsigned long newValue);
	unsigned long GetTTSForeColor();
	void SetTTSForeColor(unsigned long newValue);
	unsigned long GetTTSFillColor1();
	void SetTTSFillColor1(unsigned long newValue);
	unsigned long GetTTSFillColor2();
	void SetTTSFillColor2(unsigned long newValue);
	long GetTTSIconType();
	void SetTTSIconType(long nNewValue);
	long GetTTSStyleType();
	void SetTTSStyleType(long nNewValue);
	long GetTTSFillRect();
	void SetTTSFillRect(long nNewValue);
	short GetTTSShowTime();
	void SetTTSShowTime(short nNewValue);
	short GetTTSCloseTime();
	void SetTTSCloseTime(short nNewValue);
	short GetTTSTrans();
	void SetTTSTrans(short nNewValue);
	CString GetToolTipString();
	void SetToolTipString(LPCTSTR lpszNewValue);
	CString GetToolTipTitle();
	void SetToolTipTitle(LPCTSTR lpszNewValue);
	void DisableRefresh();
	void Refresh();
};

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

#endif // !defined(AFX__BUTTON_H__40EC8742_E4A8_4FA0_92CF_B2165C7CA873__INCLUDED_)

⌨️ 快捷键说明

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