?? 1linkbutton.txt
字號(hào):
#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類(lèi)中派生出CLinkButton類(lèi)
class CLinkButton : public CButton
{
// 構(gòu)造函數(shù)
public:
CLinkButton();
// Attributes
public:
// 操作
public:
// 重載
// ClassWizard: 重載基類(lèi)CButton的虛函數(shù)virtual void DrawItem
//{{AFX_VIRTUAL(CLinkButton)
public:
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
//}}AFX_VIRTUAL
// 執(zhí)行
public:
//定義字體變量
CFont fUnderline;
//定義光標(biāo)變量
HCURSOR hHand;
//決定按鈕是否按下
bool bLBtnDown;
//決定鼠標(biāo)是否在按鈕上
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_)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -