📄 logo.cpp
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -