📄 formvw1.h
字号:
// formvw1.h : header file
//
// This is a part of the Objective Grid C++ Library.
// Copyright (C) 1995 ClassWorks, Stefan Hoenig.
// All rights reserved.
//
// This source code is only intended as a supplement to
// the Objective Grid Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding
// the Objective Grid product.
//
/////////////////////////////////////////////////////////////////////////////
// CSample1FormView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "gxwnd.h"
class CSample1FormGridWnd : public CGXGridWnd
{
public:
virtual BOOL OnValidateCell(ROWCOL nRow, ROWCOL nCol);
virtual void OnInitialUpdate();
// Generated message map functions
//{{AFX_MSG(CSample1FormGridWnd)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
class CSample1FormView : public CFormView
{
protected:
CSample1FormView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CSample1FormView)
// Form Data
public:
//{{AFX_DATA(CSample1FormView)
enum { IDD = IDD_FORMVW1 };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Attributes
public:
CSample1FormGridWnd m_wndGrid;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSample1FormView)
public:
virtual void OnInitialUpdate();
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL );
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CSample1FormView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CSample1FormView)
afx_msg void OnFileHeaderfooter();
afx_msg void OnFilePageSetup();
afx_msg void OnViewProperties();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -