home *** CD-ROM | disk | FTP | other *** search
- #if !defined(AFX_PLAYERCONTROLDLG_H__CE91D8EE_1534_4ACD_A869_D10D2583FCC4__INCLUDED_)
- #define AFX_PLAYERCONTROLDLG_H__CE91D8EE_1534_4ACD_A869_D10D2583FCC4__INCLUDED_
-
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // CPlayerControlDlg.h : header file
- //
-
- /////////////////////////////////////////////////////////////////////////////
- // CPlayerControlDlg dialog
-
- class CPlayerControlDlg : public CDialog
- {
- // Construction
- public:
- CToolTipCtrl m_ToolTip;
- CPlayerControlDlg(CWnd* pParent = NULL); // standard constructor
- CPoint m_ptMouse;
- BOOL m_bIsMoved;
- CString m_strCurMediaName;
-
- void PlayNew(CString path = "");
- // Dialog Data
- //{{AFX_DATA(CPlayerControlDlg)
- enum { IDD = IDD_CONTROLS };
- CString m_strCurFile;
- CString m_strCurTime;
- //}}AFX_DATA
-
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPlayerControlDlg)
- virtual BOOL PreTranslateMessage(MSG* pMsg);
-
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
- // Implementation
- protected:
- void OnTimer(UINT nIDEvent);
- void EnsurePlayerIsReady();
- void LoadSkin();
- // Generated message map functions
- //{{AFX_MSG(CPlayerControlDlg)
- afx_msg void OnPlaybut();
- afx_msg void OnPlaylist();
- afx_msg void OnOpenfile();
- afx_msg void OnStopbut();
- afx_msg void OnPausebut();
- afx_msg void OnNextbut();
- afx_msg void OnPrevbut();
- afx_msg void OnClose();
- 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);
- virtual BOOL OnInitDialog();
- afx_msg void OnAmegaButton();
- afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_PLAYERCONTROLDLG_H__CE91D8EE_1534_4ACD_A869_D10D2583FCC4__INCLUDED_)
-