📄 localfileplay.h
字号:
#if !defined(AFX_LOCALFILEPLAY_H__37FBE58A_A509_4EFA_8FF1_C5482C6B890C__INCLUDED_)
#define AFX_LOCALFILEPLAY_H__37FBE58A_A509_4EFA_8FF1_C5482C6B890C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LocalFilePlay.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CLocalFilePlay dialog
class CLocalFilePlay : public CDialog
{
// Construction
public:
CLocalFilePlay(CWnd* pParent = NULL); // standard constructor
HWND m_hPareTabWnd;
HWND m_hPareDlgWnd;
BOOL m_bPlay;
BOOL m_bPause;
BOOL m_bSound;
int m_iTotalSeconds;
BOOL m_bStep;
BOOL m_bFileRefCreated;
HWND m_hPlayWnd;
BOOL m_bFullScreen;
CRect m_rcScreen;
CRect m_rcWnd;
CRect m_rcPareDlg;
CRect m_rcPareTab;
CRect m_rcParent;
int m_iTSum;
static CString m_csIP;
static int iSelChannel;
LONG m_lStartChan;
int m_iChannelnumber;
void F_InitUI();
void SetParentWnd(HWND *hhWnd, int iParentNum);
void F_Stop();
BOOL F_CheckDate(CTime tFrom, CTime tTo);
int F_ShowlocalFile(CString csIP,int iFileType,int iChanNum, CTime tFrom, CTime tTo);
int F_ShowDownloadFile(CString csIP,int iChanNum, CTime tFrom, CTime tTo);
void F_SetStopState();
void F_UpdateStepBackUI(BOOL bEnable);
void F_SetPlayState();
void F_Pause();
void F_Play();
void F_SetPauseState();
void F_Sound(BOOL bSound);
void F_SetPlaySoundState();
void F_SetStopSoundState();
void F_ShowStatus();
BOOL IsInWnd(CPoint point);
void F_ShowFullScreen();
void F_ShowNormal();
void F_EnableFlashWnd(BOOL bEnable);
// Dialog Data
//{{AFX_DATA(CLocalFilePlay)
enum { IDD = IDD_SUBDLG_LOCALFILE };
CListCtrl m_locFileList;
CSliderCtrl m_ctlProgress;
CSliderCtrl m_ctlVolume;
CComboBox m_ServerCtrl;
CComboBox m_ChannelCtrl;
CComboBox m_FileTypeCtrl;
CTime m_ctTimeStart;
CTime m_ctTimeStop;
int m_iChannelSel;
CTime m_ctDateStart;
CTime m_ctDateStop;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLocalFilePlay)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
protected:
HICON m_hSoundStartIcon;
HICON m_hSoundStopIcon;
HICON m_hPlayEnableIcon;
HICON m_hPlayDisableIcon;
HICON m_hPauseEnableIcon;
HICON m_hPauseDisableIcon;
HICON m_hStopEnableIcon;
HICON m_hStopDisableIcon;
HICON m_hGotoHeadDisableIcon;
HICON m_hGotoHeadEnableIcon;
HICON m_hGotoTailEnableIcon;
HICON m_hGotoTailDisableIcon;
HICON m_hFastDisableIcon;
HICON m_hFastEnableIcon;
HICON m_hSlowDisableIcon;
HICON m_hSlowEnableIcon;
HICON m_hStepEnableIcon;
HICON m_hStepDisableIcon;
HICON m_hStepBackEnableIcon;
HICON m_hStepBackDisableIcon;
HICON m_hCaptureIcon;
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CLocalFilePlay)
virtual BOOL OnInitDialog();
afx_msg void OnSearch();
afx_msg void OnDelete();
afx_msg void OnDeleteall();
afx_msg void OnPlayFile();
afx_msg void OnStop();
afx_msg void OnSlow();
afx_msg void OnFast();
afx_msg void OnCappic();
afx_msg void OnStepback();
afx_msg void OnStep();
afx_msg void OnSound();
afx_msg void OnDestroy();
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnPaint();
afx_msg void OnTimer(UINT nIDEvent);
virtual void OnCancel();
virtual void OnOK();
afx_msg void OnSelchangeComboserver();
afx_msg void OnSelchangeCombofiletype();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LOCALFILEPLAY_H__37FBE58A_A509_4EFA_8FF1_C5482C6B890C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -