_xbutton.h

来自「本程序是一个最近邻分类算法的演示程序」· C头文件 代码 · 共 71 行

H
71
字号
#if !defined(AFX__XBUTTON_H__86AA45FD_7105_44FD_8DDC_98B1E6679318__INCLUDED_)
#define AFX__XBUTTON_H__86AA45FD_7105_44FD_8DDC_98B1E6679318__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;

/////////////////////////////////////////////////////////////////////////////
// C_XButton wrapper class

class C_XButton : public CWnd
{
protected:
	DECLARE_DYNCREATE(C_XButton)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xcc513b1c, 0xba0b, 0x49ce, { 0xa7, 0x36, 0x13, 0x7, 0xd3, 0x5, 0x71, 0x72 } };
		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:
	CString GetCaption();
	void SetCaption(LPCTSTR lpszNewValue);
	unsigned long GetBackColor();
	void SetBackColor(unsigned long newValue);
	unsigned long GetHLBackColor();
	void SetHLBackColor(unsigned long newValue);
	void ShowAbout();
	unsigned long GetForeColor();
	void SetForeColor(unsigned long newValue);
	unsigned long GetHLForeColor();
	void SetHLForeColor(unsigned long newValue);
	COleFont GetFont();
	void SetRefFont(LPDISPATCH newValue);
	void Refresh();
	long GetXStyle();
	void SetXStyle(long nNewValue);
};

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

#endif // !defined(AFX__XBUTTON_H__86AA45FD_7105_44FD_8DDC_98B1E6679318__INCLUDED_)

⌨️ 快捷键说明

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