showresultview.h

来自「用C++编写的数据库软件」· C头文件 代码 · 共 64 行

H
64
字号
#if !defined(AFX_SHOWRESULTVIEW_H__45A9F921_4264_48FE_8F19_184B0964A018__INCLUDED_)
#define AFX_SHOWRESULTVIEW_H__45A9F921_4264_48FE_8F19_184B0964A018__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ShowResultView.h : header file
//
#include "listformessage.h"
/////////////////////////////////////////////////////////////////////////////
// CShowResultView view

class CShowResultView : public CView
{
protected:
	CShowResultView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CShowResultView)

// Attributes
public:
	BOOL b_showMessage;
	CString message;
	int xsize;
	int ysize;
// Operations
public:
	void ShowError();
	void ShowResult(long recordCount);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CShowResultView)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual void OnInitialUpdate();     // first time after construct
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CShowResultView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CShowResultView)
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnConnect();
	afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CListForMessage listTable;
	void ShowResultSet(_RecordsetPtr Rsc);
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SHOWRESULTVIEW_H__45A9F921_4264_48FE_8F19_184B0964A018__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?