videobar.h

来自「与vc++界面十分类似的词法分析器」· C头文件 代码 · 共 71 行

H
71
字号
#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 + =
减小字号Ctrl + -
显示快捷键?