📄 sam_nowindowctl.h
字号:
#if !defined(AFX_SAM_NOWINDOWCTL_H__58C72A64_D633_11D3_9B30_52544C393A8C__INCLUDED_)
#define AFX_SAM_NOWINDOWCTL_H__58C72A64_D633_11D3_9B30_52544C393A8C__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// Sam_nowindowCtl.h : Declaration of the CSam_nowindowCtrl ActiveX Control class.
/////////////////////////////////////////////////////////////////////////////
// CSam_nowindowCtrl : See Sam_nowindowCtl.cpp for implementation.
class CSam_nowindowCtrl : public COleControl
{
DECLARE_DYNCREATE(CSam_nowindowCtrl)
// Constructor
public:
CSam_nowindowCtrl();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSam_nowindowCtrl)
public:
virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
virtual void DoPropExchange(CPropExchange* pPX);
virtual void OnResetState();
//}}AFX_VIRTUAL
// Implementation
protected:
~CSam_nowindowCtrl();
DECLARE_OLECREATE_EX(CSam_nowindowCtrl) // Class factory and guid
DECLARE_OLETYPELIB(CSam_nowindowCtrl) // GetTypeInfo
DECLARE_PROPPAGEIDS(CSam_nowindowCtrl) // Property page IDs
DECLARE_OLECTLTYPE(CSam_nowindowCtrl) // Type name and misc status
// Message maps
//{{AFX_MSG(CSam_nowindowCtrl)
// 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(CSam_nowindowCtrl)
afx_msg long DoCalc(long iNum1, long iNum2, BOOL fShow);
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()
afx_msg void AboutBox();
// Event maps
//{{AFX_EVENT(CSam_nowindowCtrl)
//}}AFX_EVENT
DECLARE_EVENT_MAP()
// Dispatch and event IDs
public:
enum {
//{{AFX_DISP_ID(CSam_nowindowCtrl)
dispidDoCalc = 1L,
//}}AFX_DISP_ID
};
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SAM_NOWINDOWCTL_H__58C72A64_D633_11D3_9B30_52544C393A8C__INCLUDED)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -