📄 playboxctl.h
字号:
#if !defined(AFX_PLAYBOXCTL_H__90E23718_BE5C_11D4_9716_00E04CDD4565__INCLUDED_)
#define AFX_PLAYBOXCTL_H__90E23718_BE5C_11D4_9716_00E04CDD4565__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PlayBoxCtl.h : Declaration of the CPlayBoxCtrl ActiveX Control class.
/////////////////////////////////////////////////////////////////////////////
// CPlayBoxCtrl : See PlayBoxCtl.cpp for implementation.
class CPlayBoxCtrl : public COleControl
{
DECLARE_DYNCREATE(CPlayBoxCtrl)
// Constructor
public:
CPlayBoxCtrl();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPlayBoxCtrl)
public:
virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
virtual void DoPropExchange(CPropExchange* pPX);
virtual void OnResetState();
//}}AFX_VIRTUAL
// Implementation
protected:
~CPlayBoxCtrl();
//加入的代码
CRect m_bBox1;
CRect m_bBox2;
CRect m_bBox3;
CRect m_bBox4;
CRect m_bBox5;
CRect m_bBox6;
CRect m_bBox7;
CRect m_bBox8;
CRect m_bBox9;
BOOL m_bFill1;
BOOL m_bFill2;
BOOL m_bFill3;
BOOL m_bFill4;
BOOL m_bFill5;
BOOL m_bFill6;
BOOL m_bFill7;
BOOL m_bFill8;
BOOL m_bFill9;
//加入的代码完毕
DECLARE_OLECREATE_EX(CPlayBoxCtrl) // Class factory and guid
DECLARE_OLETYPELIB(CPlayBoxCtrl) // GetTypeInfo
DECLARE_PROPPAGEIDS(CPlayBoxCtrl) // Property page IDs
DECLARE_OLECTLTYPE(CPlayBoxCtrl) // Type name and misc status
// Message maps
//{{AFX_MSG(CPlayBoxCtrl)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// Dispatch maps
//{{AFX_DISPATCH(CPlayBoxCtrl)
// NOTE - ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()
afx_msg void AboutBox();
// Event maps
//{{AFX_EVENT(CPlayBoxCtrl)
// NOTE - ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_EVENT
DECLARE_EVENT_MAP()
// Dispatch and event IDs
public:
enum {
//{{AFX_DISP_ID(CPlayBoxCtrl)
// NOTE: ClassWizard will add and remove enumeration elements here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DISP_ID
};
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PLAYBOXCTL_H__90E23718_BE5C_11D4_9716_00E04CDD4565__INCLUDED)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -