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

📄 showinfo.cpp

📁 超声影像工作站系统可与各种型号的B超、彩超连接
💻 CPP
字号:
// ShowInfo.cpp : implementation file
//

#include "stdafx.h"
#include "bxt.h"
#include "ShowInfo.h"

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

/////////////////////////////////////////////////////////////////////////////
// CShowInfo dialog


CShowInfo::CShowInfo(CString &info, CWnd* pParent /*=NULL*/)
	: CDialog(CShowInfo::IDD, pParent)
{
	//{{AFX_DATA_INIT(CShowInfo)
	m_info = info;
	//}}AFX_DATA_INIT
}

void CShowInfo::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CShowInfo)
	DDX_Text(pDX, IDC_EDIT_INFO, m_info);
	//}}AFX_DATA_MAP
}

BEGIN_MESSAGE_MAP(CShowInfo, CDialog)
	//{{AFX_MSG_MAP(CShowInfo)
	ON_WM_NCHITTEST()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CShowInfo message handlers

UINT
CShowInfo::OnNcHitTest(CPoint point)
{
	return	HTCAPTION;
}

BOOL CShowInfo::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	CRect	rect;
	ShowWindow(SW_SHOWMAXIMIZED);
	GetClientRect(&rect);
	GetDlgItem(IDC_EDIT_INFO)->MoveWindow(rect.left, rect.top, rect.Width(), rect.Height());
	
	return TRUE;
}

⌨️ 快捷键说明

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