- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
WaveEditCtrl.h
资源名称:WaveEdit.zip [点击查看]
上传用户:dthg120
上传日期:2007-01-01
资源大小:50k
文件大小:2k
源码类别:
多媒体编程
开发平台:
Visual C++
- #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_)