📄 chkbkvw.h
字号:
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
// CheckVw.h : header file
//
// This is a part of the Microsoft Foundation Classes C++ library.
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.
#ifndef __INC_CHKBKVW_H__
#define __INC_CHKBKVW_H__
#include "chkbkdoc.h"
#include "CheckDlg.h"
#include "chkbkEdt.h"
/////////////////////////////////////////////////////////////////////////////
// CCheckBookView view
class CCheckBookView : public CView
{
protected:
CCheckBookView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CCheckBookView)
// Attributes
public:
BOOL m_bCheckView;
CCheckDlg m_dlg;
CCheckBookEdit m_edit;
CCheckBookDoc* GetDocument();
void UpdateBookViewWindow();
// Operations
public:
void CheckView(BOOL bCheckView);
UINT QueryCommitCheck();
void NewCheck(const UINT checkNo);
void GetCheckInfo(DWORD& dwCents,
CString& strPayTo, CString& strDate, CString& strMemo);
void SetCheckInfo(const UINT checkNo, DWORD dwCents,
CString strPayTo, CString strDate, CString strMemo);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCheckBookView)
protected:
virtual void OnDraw(CDC* pDC);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CCheckBookView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CCheckBookView)
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
#if (_WIN32_WCE > 200)
afx_msg void OnSettingChange(UINT uFlags, LPCTSTR lpszSection);
#endif
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in ChkBkVw.cpp
inline CCheckBookDoc* CCheckBookView::GetDocument()
{ return (CCheckBookDoc*)m_pDocument; }
#endif
#endif // __INC_CHKBKVW_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -