📄 videobar.h
字号:
#if !defined(__VIDEO_H__)
#define __VIDEO_H__
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// VideoBar.h : header file
//
#include "sizecbar.h"
/////////////////////////////////////////////////////////////////////////////
// CVideoBar window
#ifndef baseCMyBar
#define baseCMyBar CSizingControlBar
#endif
class CVideoBar : public baseCMyBar
{
// Construction
public:
CVideoBar();
// Attributes
public:
// Overridables
virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
// Operations
public:
BOOL OnOpen();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEditBar)
//}}AFX_VIRTUAL
// Implementation
public:
void Open(CString fname,CString ext);
CString m_OldPath;
BOOL bl_play;
CString m_Path;
void OnPlay();
void OnClose();
CButton m_open;
CButton m_play;
CButton m_close;
HWND m_hwnd;
virtual ~CVideoBar();
protected:
CStatic m_wndChild;
// Generated message map functions
protected:
//{{AFX_MSG(CVideoBar)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(__VIDEOBAR_H__)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -