📄 prodview.h
字号:
// prodView.h : interface of the CProdView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_PRODVIEW_H__58B236D9_5FD8_42AF_96ED_D1E8AE5D98E2__INCLUDED_)
#define AFX_PRODVIEW_H__58B236D9_5FD8_42AF_96ED_D1E8AE5D98E2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include<iostream>
using namespace std;
#include<vector>
class CProdView : public CView
{
protected: // create from serialization only
CProdView();
DECLARE_DYNCREATE(CProdView)
// Attributes
public:
CProdDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CProdView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
COLORREF COLOR;
int num; ///////////////数据的个数
int max; ////////////////数据中的最大值
int *data; //存放整型数据
CString * p1; ///存放字符数据
CPoint pt; //存放右击指针
CString *str; ////////////存放左击时弹出的消息
COLORREF *colorr; /////////存放各个柱子的颜色
virtual ~CProdView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CProdView)
afx_msg void OnMenuitem32771();
afx_msg void OnMenuitem32772();
afx_msg void OnMenuitem32773();
afx_msg void OnMenuitem32774();
afx_msg void OnMenuitem32775();
afx_msg void OnMenuitem32776();
afx_msg void OnMenuitem32777();
afx_msg void OnMenuitem32778();
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in prodView.cpp
inline CProdDoc* CProdView::GetDocument()
{ return (CProdDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PRODVIEW_H__58B236D9_5FD8_42AF_96ED_D1E8AE5D98E2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -