home *** CD-ROM | disk | FTP | other *** search
- // SCPlayerDlg.h : header file
- //
- //{{AFX_INCLUDES()
- #include "wmpplayer4.h"
- //}}AFX_INCLUDES
-
- #if !defined(AFX_SCPLAYERDLG_H__DA0206E7_3C69_46A2_A8F2_2425F37E8E6D__INCLUDED_)
- #define AFX_SCPLAYERDLG_H__DA0206E7_3C69_46A2_A8F2_2425F37E8E6D__INCLUDED_
-
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- //#include "PlayerView.h"
- //#include "wmp.h"
- #include "wmpcontrols.h"
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CSCPlayerDlg dialog
-
- class CSCPlayerDlg : public CDialog
- {
- // Construction
- public:
- CSCPlayerDlg(CWnd* pParent = NULL); // standard constructor
- //CPlayerView* pPl;
- BOOL m_flagMoveSlider;
- CPoint m_ptMouse;
- // Dialog Data
- //{{AFX_DATA(CSCPlayerDlg)
- enum { IDD = IDD_SCPLAYER_DIALOG };
- //}}AFX_DATA
-
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSCPlayerDlg)
- public:
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
- //}}AFX_VIRTUAL
-
- // Implementation
- protected:
- HICON m_hIcon;
- double m_fStep;
- // Generated message map functions
- //{{AFX_MSG(CSCPlayerDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnOpenFile();
- afx_msg void OnPlay();
- afx_msg void OnPause();
- afx_msg void OnStop();
- afx_msg void OnOpenStateChangeWmplayer(long NewState);
- afx_msg void OnReleasedcaptureSlider(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
- afx_msg void OnClose();
- DECLARE_EVENTSINK_MAP()
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- class CAboutDlg : public CDialog
- {
- public:
- CAboutDlg();
-
- // Dialog Data
- //{{AFX_DATA(CAboutDlg)
- enum { IDD = IDD_ABOUTBOX };
- //}}AFX_DATA
-
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CAboutDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
- // Implementation
- protected:
- //{{AFX_MSG(CAboutDlg)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_SCPLAYERDLG_H__DA0206E7_3C69_46A2_A8F2_2425F37E8E6D__INCLUDED_)
-