home *** CD-ROM | disk | FTP | other *** search
- #if !defined(AFX_PLAYERVIEW_H__422D5675_782B_42A5_9418_74A8E9B3A455__INCLUDED_)
- #define AFX_PLAYERVIEW_H__422D5675_782B_42A5_9418_74A8E9B3A455__INCLUDED_
-
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // PlayerView.h : header file
- //
-
- /////////////////////////////////////////////////////////////////////////////
- // CPlayerView window
-
- class CPlayerView : public CStatic
- {
- // Construction
- public:
- CPlayerView();
-
- // Attributes
- public:
- HWND m_hPlayerWnd;
- int m_nVolume;
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPlayerView)
- protected:
- virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- void InitMCI();
- int OpenFile(CString filename);
- int PlayFile();
- virtual ~CPlayerView();
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CPlayerView)
- afx_msg void OnPaint();
- //}}AFX_MSG
-
- DECLARE_MESSAGE_MAP()
- };
-
- /////////////////////////////////////////////////////////////////////////////
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_PLAYERVIEW_H__422D5675_782B_42A5_9418_74A8E9B3A455__INCLUDED_)
-