setui.cpp
来自「MDF监控源码2」· C++ 代码 · 共 63 行
CPP
63 行
// SetUI.cpp : implementation file
//
#include "stdafx.h"
#include "MDF.h"
#include "SetUI.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSetUI
//##ModelId=44B6F883030F
CSetUI::CSetUI()
{
}
//##ModelId=44B6F883031D
CSetUI::~CSetUI()
{
}
BEGIN_MESSAGE_MAP(CSetUI, CWnd)
//{{AFX_MSG_MAP(CSetUI)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSetUI message handlers
//##ModelId=44B6F8830310
void CSetUI::Create(CWnd* pParentWnd)
{
CRect rc ;
rc.top = 100 ;
rc.left = 100 ;
rc.bottom = 400 ;
rc.right = 400 ;
CBrush MyBrush ;
MyBrush.CreateSolidBrush(RGB(255,255,255)) ;
this->CreateEx(NULL,
::AfxRegisterWndClass(CS_VREDRAW|CS_HREDRAW,
::LoadCursor(NULL,IDC_ARROW),
(HBRUSH)MyBrush.GetSafeHandle(),NULL),
NULL,
WS_POPUP|WS_CHILD|WS_VISIBLE,
rc,
pParentWnd,
NULL
) ;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?