📄 waveeditctrl.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -