transparentstatic.h
来自「实现类似千千静听功能的播放器,采用MFC技术,在VC++6.0SP6中实现」· C头文件 代码 · 共 60 行
H
60 行
#if !defined(AFX_TRANSPARENTSTATIC_H__953E2DEB_14FD_4EC8_95EB_0B0996E6E9FA__INCLUDED_)
#define AFX_TRANSPARENTSTATIC_H__953E2DEB_14FD_4EC8_95EB_0B0996E6E9FA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TransparentStatic.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CTransparentStatic window
class CTransparentStatic : public CStatic
{
// Construction
public:
CTransparentStatic();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTransparentStatic)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void PreSubclassWindow();
//}}AFX_VIRTUAL
// Implementation
public:
void SetToolTipText(CString strText);
void SetCursor(HCURSOR hCursor);
virtual ~CTransparentStatic();
// Generated message map functions
protected:
//{{AFX_MSG(CTransparentStatic)
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CToolTipCtrl m_ToolTip;
void SetDefaultCursor();
HCURSOR m_hCursor;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TRANSPARENTSTATIC_H__953E2DEB_14FD_4EC8_95EB_0B0996E6E9FA__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?