logo.cpp

来自「关于LOGO编辑方面的小软件 EVC编写~」· C++ 代码 · 共 58 行

CPP
58
字号
// Logo.cpp : implementation file
//

#include "stdafx.h"
#include "LogoShow.h"
#include "Logo.h"

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

/////////////////////////////////////////////////////////////////////////////
// CLogo dialog


CLogo::CLogo(CWnd* pParent /*=NULL*/)
	: CDialog(CLogo::IDD, pParent)
{
	//{{AFX_DATA_INIT(CLogo)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CLogo::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CLogo)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CLogo, CDialog)
	//{{AFX_MSG_MAP(CLogo)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CLogo message handlers

BOOL CLogo::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	//======================界面处理==============================//
	//add by mercury xu 20080718
	int cx, cy;
	cx = GetSystemMetrics(SM_CXSCREEN);//获取屏幕的水平尺寸
	cy = GetSystemMetrics(SM_CYSCREEN);//获取屏幕的垂直尺寸
	SetWindowPos(&wndTopMost, 0, 0, cx, cy, SWP_SHOWWINDOW);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

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