📄 testocxctl.h
字号:
#if !defined(AFX_TESTOCXCTL_H__89E05176_C32D_4753_A5EB_408ED8F60BDE__INCLUDED_)
#define AFX_TESTOCXCTL_H__89E05176_C32D_4753_A5EB_408ED8F60BDE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TestOCXCtl.h : Declaration of the CTestOCXCtrl ActiveX Control class.
/////////////////////////////////////////////////////////////////////////////
// CTestOCXCtrl : See TestOCXCtl.cpp for implementation.
class CTestOCXCtrl : public COleControl
{
DECLARE_DYNCREATE(CTestOCXCtrl)
// Constructor
public:
CTestOCXCtrl();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTestOCXCtrl)
public:
virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
virtual void DoPropExchange(CPropExchange* pPX);
virtual void OnResetState();
//}}AFX_VIRTUAL
// Implementation
protected:
~CTestOCXCtrl();
DECLARE_OLECREATE_EX(CTestOCXCtrl) // Class factory and guid
DECLARE_OLETYPELIB(CTestOCXCtrl) // GetTypeInfo
DECLARE_PROPPAGEIDS(CTestOCXCtrl) // Property page IDs
DECLARE_OLECTLTYPE(CTestOCXCtrl) // Type name and misc status
// Message maps
//{{AFX_MSG(CTestOCXCtrl)
// NOTE - ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// Dispatch maps
//{{AFX_DISPATCH(CTestOCXCtrl)
afx_msg short getShort();
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()
afx_msg void AboutBox();
// Event maps
//{{AFX_EVENT(CTestOCXCtrl)
//}}AFX_EVENT
DECLARE_EVENT_MAP()
// Dispatch and event IDs
public:
enum {
//{{AFX_DISP_ID(CTestOCXCtrl)
dispidGetShort = 1L,
//}}AFX_DISP_ID
};
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TESTOCXCTL_H__89E05176_C32D_4753_A5EB_408ED8F60BDE__INCLUDED)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -