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

📄 linkbutton.h

📁 考勤管理系统源代码
💻 H
字号:
#if !defined(AFX_LINKBUTTON_H__37D871C6_C673_11D3_B3A5_001088028526__INCLUDED_)
#define AFX_LINKBUTTON_H__37D871C6_C673_11D3_B3A5_001088028526__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LinkButton.h : header file
//
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
// CLinkButton window
// 从CButton类中派生出CLinkButton类

class CLinkButton : public CButton
{
// 构造函数
public:
	CLinkButton();

// Attributes
public:

// 操作
public:

// 重载
	// ClassWizard: 重载基类CButton的虚函数virtual void DrawItem
	//{{AFX_VIRTUAL(CLinkButton)
	public:
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	//}}AFX_VIRTUAL

// 执行
public:
	//定义字体变量
	CFont fUnderline;
	//定义光标变量
	HCURSOR hHand;
	//决定按钮是否按下
	bool bLBtnDown;
	//决定鼠标是否在按钮上
	bool bHighlight;
	virtual ~CLinkButton();

	// Generated message map functions
protected:
	//定制以下的消息处理:
	//{{AFX_MSG(CLinkButton)
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_LINKBUTTON_H__37D871C6_C673_11D3_B3A5_001088028526__INCLUDED_)

⌨️ 快捷键说明

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