📄 sam_editwindowctl.h
字号:
#if !defined(AFX_SAM_EDITWINDOWCTL_H__58C72A69_D633_11D3_9B30_52544C393A8C__INCLUDED_)
#define AFX_SAM_EDITWINDOWCTL_H__58C72A69_D633_11D3_9B30_52544C393A8C__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// Sam_editwindowCtl.h : Declaration of the CSam_editwindowCtrl ActiveX Control class.
/////////////////////////////////////////////////////////////////////////////
// CSam_editwindowCtrl : See Sam_editwindowCtl.cpp for implementation.
class CSam_editwindowCtrl : public COleControl
{
DECLARE_DYNCREATE(CSam_editwindowCtrl)
// Constructor
public:
CSam_editwindowCtrl();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSam_editwindowCtrl)
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_editwindowCtrl();
DECLARE_OLECREATE_EX(CSam_editwindowCtrl) // Class factory and guid
DECLARE_OLETYPELIB(CSam_editwindowCtrl) // GetTypeInfo
DECLARE_PROPPAGEIDS(CSam_editwindowCtrl) // Property page IDs
DECLARE_OLECTLTYPE(CSam_editwindowCtrl) // Type name and misc status
// Subclassed control support
BOOL PreCreateWindow(CREATESTRUCT& cs);
BOOL IsSubclassedControl();
LRESULT OnOcmCommand(WPARAM wParam, LPARAM lParam);
// Message maps
//{{AFX_MSG(CSam_editwindowCtrl)
// 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_editwindowCtrl)
// 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(CSam_editwindowCtrl)
// 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(CSam_editwindowCtrl)
// 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 Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SAM_EDITWINDOWCTL_H__58C72A69_D633_11D3_9B30_52544C393A8C__INCLUDED)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -