printframe.h
来自「本人为出租屋编写的电费管理程序,应用了MFC DAO链接了ACCESS数据库,利」· C头文件 代码 · 共 56 行
H
56 行
#if !defined(AFX_PRINTFRAME_H__51AF2B0A_B210_4483_94F7_BDCB148AB977__INCLUDED_)
#define AFX_PRINTFRAME_H__51AF2B0A_B210_4483_94F7_BDCB148AB977__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PrintFrame.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPrintFrame frame
#define WM_MY_PRINT (WM_USER+1003)
#define WM_BEGIN_PRINTING (WM_USER+1004)
#define WM_END_PRINTING (WM_USER+1005)
#define PRINTMARGIN 2
#include "PrintView.h"
class CPrintFrame : public CFrameWnd
{
DECLARE_DYNCREATE(CPrintFrame)
public:
CPrintFrame(); // protected constructor used by dynamic creation
// Attributes
public:
CPrintView *m_pView;
CDialog *m_pCallerDlg;
CWnd *m_pWnd;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPrintFrame)
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CPrintFrame();
// Generated message map functions
//{{AFX_MSG(CPrintFrame)
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PRINTFRAME_H__51AF2B0A_B210_4483_94F7_BDCB148AB977__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?