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

📄 xpbutton.h

📁 局域网聊天程序.rar
💻 H
字号:
#if !defined(AFX_XPBUTTON_H__1143C55B_B3B3_4610_851C_2CAAA94E171D__INCLUDED_)
#define AFX_XPBUTTON_H__1143C55B_B3B3_4610_851C_2CAAA94E171D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// XPButton.h : header file
// Modified by jingzhou xu

/////////////////////////////////////////////////////////////////////////////
// CXPButton window

class CXPButton : public CButton
{
	DECLARE_DYNCREATE(CXPButton)
// Construction
public:
	CXPButton();
	CPen pBoundryPen;
	CPen pInsideBoundryPenLeft;
	CPen pInsideBoundryPenTop;
	CPen pInsideBoundryPenRight;
	CPen pInsideBoundryPenBottom;
	CPen *pOldPen;
	CBrush pFillActive;
	CBrush pFillInactive;
	CBrush *pOldBrush;
	BOOL m_bOverControl;
	BOOL m_bTracking;
	CString strCaption;
// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CXPButton)
	public:
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	protected:
	virtual void PreSubclassWindow();
	//}}AFX_VIRTUAL

// Implementation
public:
	BOOL Focus;
	LRESULT afx_msg OnMouseLeave(WPARAM wparam, LPARAM lparam);
	void afx_msg OnMouseHover(WPARAM wparam, LPARAM lparam);
	void afx_msg OnMouseMove(UINT nFlags, CPoint point);
	void DrawInsideBorder(CDC *pDC,CRect rect);
	void DoGradientFill(CDC *pDC,CRect rect);
	virtual ~CXPButton();

	// Generated message map functions
protected:
	//{{AFX_MSG(CXPButton)
	afx_msg void OnSended();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_XPBUTTON_H__1143C55B_B3B3_4610_851C_2CAAA94E171D__INCLUDED_)

⌨️ 快捷键说明

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