SubtitleDlDlg.h
资源名称:bfyy.rar [点击查看]
上传用户:tangyu_668
上传日期:2014-02-27
资源大小:678k
文件大小:1k
源码类别:
多媒体编程
开发平台:
Visual C++
- #pragma once
- #include "ISDb.h"
- #include "afxwin.h"
- // CSubtitleDlDlg dialog
- class CSubtitleDlDlg : public CResizableDialog
- {
- // DECLARE_DYNAMIC(CSubtitleDlDlg)
- private:
- CList<isdb_movie> m_movies;
- enum {COL_FILENAME, COL_LANGUAGE, COL_FORMAT, COL_DISC, COL_TITLES};
- CImageList m_onoff;
- int GetChecked(int iItem);
- void SetChecked(int iItem, int iChecked);
- public:
- CSubtitleDlDlg(CList<isdb_movie>& movies, CWnd* pParent = NULL); // standard constructor
- virtual ~CSubtitleDlDlg();
- bool m_fReplaceSubs;
- CList<isdb_subtitle> m_selsubs;
- // Dialog Data
- enum { IDD = IDD_SUBTITLEDL_DLG };
- CListCtrl m_list;
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual BOOL OnInitDialog();
- virtual void OnOK();
- DECLARE_MESSAGE_MAP()
- public:
- afx_msg void OnNMClickList1(NMHDR *pNMHDR, LRESULT *pResult);
- afx_msg void OnUpdateOk(CCmdUI* pCmdUI);
- };