⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stateubookstoreview.cpp

📁 这是根据清华大学出版社《全面掌握vb6.0企业应用程序开发》修改而成
💻 CPP
字号:
// StateUBookstoreView.cpp : implementation of the CStateUBookstoreView class
//

#include "stdafx.h"
#include "StateUBookstore.h"
#include "StateUBookstore1.h"
#include "StateUBookstoreDoc.h"
#include "StateUBookstoreView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CStateUBookstoreView

IMPLEMENT_DYNCREATE(CStateUBookstoreView, CView)

BEGIN_MESSAGE_MAP(CStateUBookstoreView, CView)
	//{{AFX_MSG_MAP(CStateUBookstoreView)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CStateUBookstoreView construction/destruction

CStateUBookstoreView::CStateUBookstoreView()
{
	// TODO: add construction code here

}

CStateUBookstoreView::~CStateUBookstoreView()
{
}

BOOL CStateUBookstoreView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CStateUBookstoreView drawing

void CStateUBookstoreView::OnDraw(CDC* pDC)
{
	CStateUBookstoreDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	// TODO: add draw code for native data here
}

/////////////////////////////////////////////////////////////////////////////
// CStateUBookstoreView diagnostics

#ifdef _DEBUG
void CStateUBookstoreView::AssertValid() const
{
	CView::AssertValid();
}

void CStateUBookstoreView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CStateUBookstoreDoc* CStateUBookstoreView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CStateUBookstoreDoc)));
	return (CStateUBookstoreDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CStateUBookstoreView message handlers

void CStateUBookstoreView::OnInitialUpdate() 
{
	CView::OnInitialUpdate();
	
	// TODO: Add your specialized code here and/or call the base class
	CStateUBookstore dlg;
	dlg.DoModal();
}

⌨️ 快捷键说明

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