📄 tpstatic.h
字号:
#if !defined(AFX_TPSTATIC_H__D81EC284_7B9C_4A66_A98B_DC02E320D333__INCLUDED_)
#define AFX_TPSTATIC_H__D81EC284_7B9C_4A66_A98B_DC02E320D333__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TpStatic.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CTpStatic window
class CTpStatic : public CStatic
{
// Construction
public:
CTpStatic();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTpStatic)
//}}AFX_VIRTUAL
// Implementation
public:
void SetMyFont(CFont m_font);
void SetCaption(CString sCaption);
CString GetCaption();
virtual ~CTpStatic();
// Generated message map functions
protected:
//{{AFX_MSG(CTpStatic)
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
//}}AFX_MSG
protected:
CBrush m_brHollow;
CBitmap *m_pbmCurrent;
CString Caption;
CFont font;
CFont m_font; // underline font for text control
BOOL m_bDeleteOnDestroy; // delete object when window destroyed?
BOOL m_bOverControl; // cursor over control?
UINT m_nTimerID;
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TPSTATIC_H__D81EC284_7B9C_4A66_A98B_DC02E320D333__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -