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

📄 inputview.cpp

📁 一个农用车辆管理系统的雏形
💻 CPP
字号:
// InputForm.cpp : 实现文件
//

#include "stdafx.h"
#include "NongCheManage.h"
#include "InputView.h"
#include ".\inputview.h"


// CInputView

IMPLEMENT_DYNCREATE(CInputView, CFormView)

CInputView::CInputView()
	: CFormView(CInputView::IDD)
{
}

CInputView::~CInputView()
{
}

void CInputView::DoDataExchange(CDataExchange* pDX)
{
	CFormView::DoDataExchange(pDX);
	DDX_Control(pDX, IDC_MSFLEXGRID1, m_inputtable);
}

BEGIN_MESSAGE_MAP(CInputView, CFormView)
	ON_WM_SIZE()
END_MESSAGE_MAP()


// CInputView 诊断

#ifdef _DEBUG
void CInputView::AssertValid() const
{
	CFormView::AssertValid();
}

void CInputView::Dump(CDumpContext& dc) const
{
	CFormView::Dump(dc);
}
#endif //_DEBUG


// CInputView 消息处理程序

void CInputView::OnSize(UINT nType, int cx, int cy)
{
	CFormView::OnSize(nType, cx, cy);

	m_inputtable.MoveWindow(0,40,cx,cy-40);
	//this->PostMessage(WM_SYSCOMMAND,SC_MAXIMIZE);
}

void CInputView::OnInitialUpdate()
{
	CFormView::OnInitialUpdate();

	m_inputtable.InitGrid(2,29,30);
	this->PostMessage(WM_SYSCOMMAND,SC_MAXIMIZE);
}

⌨️ 快捷键说明

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