📄 vcdemoview.h
字号:
// VcDemoView.h : interface of the CVcDemoView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_VCDEMOVIEW_H__58AF829B_6477_42EC_B536_17B81D83A378__INCLUDED_)
#define AFX_VCDEMOVIEW_H__58AF829B_6477_42EC_B536_17B81D83A378__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define WM_INIT WM_USER + 5
// 在 View 的头文件中加入对话框类
class dialogLpt;
class initDlg;
class CVcDemoView : public CView
{
protected: // create from serialization only
CVcDemoView();
DECLARE_DYNCREATE(CVcDemoView)
private:
int m_hwdMain;
// Attributes
public:
CVcDemoDoc* GetDocument();
dialogLpt* m_pDlgMain;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVcDemoView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CVcDemoView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CVcDemoView)
afx_msg void OnMnuOpen();
afx_msg void OnMnuClose();
afx_msg void OnDestroy();
//}}AFX_MSG
// Map our own message
afx_msg void OnInitHandle(WPARAM wParam,LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in VcDemoView.cpp
inline CVcDemoDoc* CVcDemoView::GetDocument()
{ return (CVcDemoDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VCDEMOVIEW_H__58AF829B_6477_42EC_B536_17B81D83A378__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -