-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMFC_FFmpegDlg.h
50 lines (41 loc) · 1.13 KB
/
MFC_FFmpegDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// MFC_FFmpegDlg.h : header file
//
#pragma once
// CMFCFFmpegDlg dialog
class CMFCFFmpegDlg : public CDialogEx
{
// Construction
public:
CMFCFFmpegDlg(CWnd* pParent = nullptr); // standard constructor
// Dialog Data
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_MFC_FFMPEG_DIALOG };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
LONG dlgMinWidth;
LONG dlgMinHeight;
CWinThread* pThreadPlay;
// Generated message map functions
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnGetMinMaxInfo(MINMAXINFO* lpMMI);
afx_msg void OnBnClickedButtonPlay();
afx_msg void OnBnClickedButtonPause();
afx_msg void OnBnClickedButtonStop();
afx_msg void OnBnClickedButtonBrowse();
CEdit m_url;
afx_msg void OnDropFiles(HDROP hDropInfo);
CSliderCtrl m_slider;
virtual BOOL PreTranslateMessage(MSG* pMsg);
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
CStatic m_duration;
CStatic m_progress;
};