waveeditctrl.h

来自「看看就知道了看看就知道了看看看看就知道了就知道了」· C头文件 代码 · 共 74 行

H
74
字号
#if !defined(AFX_WAVEEDITCTRL_H__86B89403_39AB_11D2_B4AD_C89CE0BA5D63__INCLUDED_)
#define AFX_WAVEEDITCTRL_H__86B89403_39AB_11D2_B4AD_C89CE0BA5D63__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// WaveEditCtrl.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CWaveEditCtrl window

// Written by john harte (erinjohn@msn.com)
// WaveEdit Control Copyright (c) 1998 by John Harte.
//
// You may use this code in the development of any software,
//whether for personal use, public domain distribution or
//commercial consumption.
//If you do use any part of this contol code, I simply require
//that you include the above copyright in a manner visible
//to the end user and email me of your intent to use the code.
//Thanks!
////////////////////////////////////////////////////////////////////////////

class CWaveEditCtrl : public CWnd
{
// Construction
public:
	CWaveEditCtrl();
	HCURSOR m_hCursorArrow;
    HCURSOR m_hCursorIBeam;
    CPoint m_ptOrigin;
    CPoint m_ptCaretPos;
    CString m_strInputText;
	BOOL m_bStopped;
    
// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWaveEditCtrl)
	public:
	virtual BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	//}}AFX_VIRTUAL

// Implementation
public:
	void KillCaret();
	void SetCaret();
	void MoveCaret();
	virtual ~CWaveEditCtrl();

	// Generated message map functions
protected:
	//{{AFX_MSG(CWaveEditCtrl)
	afx_msg void OnPaint();
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_WAVEEDITCTRL_H__86B89403_39AB_11D2_B4AD_C89CE0BA5D63__INCLUDED_)

⌨️ 快捷键说明

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