?? xpbutton.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 + -