📄 777view.h
字号:
// 777View.h : interface of the CMy777View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_777VIEW_H__DDF8473A_3550_41DC_B16B_927176434EC2__INCLUDED_)
#define AFX_777VIEW_H__DDF8473A_3550_41DC_B16B_927176434EC2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMy777Set;
class CMy777View : public CDaoRecordView
{
protected: // create from serialization only
CMy777View();
DECLARE_DYNCREATE(CMy777View)
public:
//{{AFX_DATA(CMy777View)
enum { IDD = IDD_MY777_FORM };
CListCtrl m_ListCtrl;
CMy777Set* m_pSet;
//}}AFX_DATA
// Attributes
public:
CMy777Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMy777View)
public:
virtual CDaoRecordset* OnGetRecordset();
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnDraw(CDC* pDC);
//}}AFX_VIRTUAL
// Implementation
public:
CString x;
CString y;
int Show();
HBRUSH m_Brush;
int pos;
virtual ~CMy777View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMy777View)
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnEdit();
afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in 777View.cpp
inline CMy777Doc* CMy777View::GetDocument()
{ return (CMy777Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_777VIEW_H__DDF8473A_3550_41DC_B16B_927176434EC2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -