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

📄 bytestracer.h

📁 完整的MP3播放器源码
💻 H
字号:
//	BytesTracer.h : header file
/////////////////////////////////////////////////////////////////////////////


#if !defined(AFX_BYTESTRACER_H__C9060505_8B5D_11D2_822A_00600815B1D4__INCLUDED_)
#define AFX_BYTESTRACER_H__C9060505_8B5D_11D2_822A_00600815B1D4__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

/////////////////////////////////////////////////////////////////////////////
// CBytesTracer window

class CBytesTracer : public CWnd
{
// Construction
public:
	CBytesTracer();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBytesTracer)
	//}}AFX_VIRTUAL

// Implementation
public:
	void	SetPick(int value);
	void	SetLimits(int min, int max);
	void	PaintThread(CDC* pdc);
	BOOL	CreatWndw();
	static	BOOL CreateTracer();
	virtual ~CBytesTracer();
	BOOL	CreatWndw(UINT pPlaceHolder, CWnd* pParent);
	// Generated message map functions
protected:
	//{{AFX_MSG(CBytesTracer)
	afx_msg void	OnPaint();
	afx_msg int		OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void	OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	typedef enum	{HORIZONTAL,VERTICAL}E_POS;
	static	LPCSTR		m_pWndName;
	CRITICAL_SECTION	ms_cs;
	BOOL				m_noClose;
	double				m_pick;

	int					m_dropStep;
	COLORREF	m_backColor;
	COLORREF	m_overColor;
	COLORREF	m_endColor;
	COLORREF	m_startColor;
	int			m_mLeduri;
	E_POS		m_position;
	HANDLE		m_hThread;

private:
	static int					PaintProc(LPVOID pvData);
        
	HDC		m_hdc;
	CBrush	m_cbr;
	CBrush*	m_pcbr;
	double	m_scaleVert;
	double	m_clrscale ;
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BYTESTRACER_H__C9060505_8B5D_11D2_822A_00600815B1D4__INCLUDED_)

⌨️ 快捷键说明

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