📄 staticex.cpp
字号:
// StaticEx.cpp : 实现文件
//
#include "stdafx.h"
#include "DeskOutDlg.h"
#include "StaticEx.h"
#include ".\staticex.h"
// CStaticEx
IMPLEMENT_DYNAMIC(CStaticEx, CStatic)
CStaticEx::CStaticEx()
{
}
CStaticEx::~CStaticEx()
{
}
BEGIN_MESSAGE_MAP(CStaticEx, CStatic)
ON_WM_SIZE()
END_MESSAGE_MAP()
void CStaticEx::OnSize(UINT nType, int cx, int cy)
{
CStatic::OnSize(nType, cx, cy);
CWnd* pWnd = GetWindow(GW_CHILD);
if(IsChild(pWnd))
{
pWnd->MoveWindow(0, 0, cx, cy);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -