home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Shareware / Programare / skincraft / SkinCrafter_v1.4.12_Demo.msi / _49E29CB9A65AABBF653C1037E1AA74B6 / _D312A481217F4C9C9400179C88CEBD04 < prev    next >
Encoding:
Text File  |  2004-02-24  |  1.8 KB  |  67 lines

  1. #if !defined(AFX_PLAYLISTDLG_H__2039F5FD_CF95_4031_81A0_888F224F7E93__INCLUDED_)
  2. #define AFX_PLAYLISTDLG_H__2039F5FD_CF95_4031_81A0_888F224F7E93__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // PlayListDlg.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CPlayListDlg dialog
  12. class CPlayListBox: public CListBox
  13. {
  14. public:
  15.     CPlayListBox(){}
  16.     ~CPlayListBox(){}
  17. protected:
  18.     LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  19. };
  20.  
  21. class CPlayListDlg : public CDialog
  22. {
  23. // Construction
  24.     int m_CurFileID;
  25. public:
  26.     void SetCurFileID(int curId);
  27.     void AddFile(CString fullpath);
  28.     CPlayListDlg(CWnd* pParent = NULL);   // standard constructor
  29.     CString GetCurMediaPath();
  30.     CString GetNextMediaPath();
  31.     CString GetPrevMediaPath();
  32.     CTypedPtrMap<CMapStringToString,CString,CString> m_PlayListMap;
  33.     void FillPlayList();
  34. // Dialog Data
  35.     //{{AFX_DATA(CPlayListDlg)
  36.     enum { IDD = IDD_PLAYLIST };
  37.         // NOTE: the ClassWizard will add data members here
  38.     //}}AFX_DATA
  39.  
  40.  
  41. // Overrides
  42.     // ClassWizard generated virtual function overrides
  43.     //{{AFX_VIRTUAL(CPlayListDlg)
  44.     protected:
  45.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  46.     //}}AFX_VIRTUAL
  47.  
  48. // Implementation
  49. protected:
  50.     
  51.     CPlayListBox m_myLb;
  52.     // Generated message map functions
  53.     //{{AFX_MSG(CPlayListDlg)
  54.     afx_msg void OnAddFiles();
  55.     afx_msg void OnDeleteFiles();
  56.     afx_msg void OnSize(UINT nType, int cx, int cy);
  57.     virtual BOOL OnInitDialog();
  58.     afx_msg void OnClose();
  59.     //}}AFX_MSG
  60.     DECLARE_MESSAGE_MAP()
  61. };
  62.  
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  65.  
  66. #endif // !defined(AFX_PLAYLISTDLG_H__2039F5FD_CF95_4031_81A0_888F224F7E93__INCLUDED_)
  67.