📄 testtrans.cpp
字号:
// TestTrans.cpp : 定义应用程序的类行为。
//
#include "stdafx.h"
#include "TestTrans.h"
#include "TransparentWnd.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CTestTransApp
BEGIN_MESSAGE_MAP(CTestTransApp, CWinApp)
END_MESSAGE_MAP()
// CTestTransApp 构造
CTestTransApp::CTestTransApp()
: CWinApp()
{
// TODO: 在此处添加构造代码,
// 将所有重要的初始化放置在 InitInstance 中
}
// 唯一的一个 CTestTransApp 对象
CTestTransApp theApp;
// CTestTransApp 初始化
BOOL CTestTransApp::InitInstance()
{
// 标准初始化
// 如果未使用这些功能并希望减小
// 最终可执行文件的大小,则应移除下列
// 不需要的特定初始化例程
// 更改用于存储设置的注册表项
// TODO: 应适当修改该字符串,
// 例如修改为公司或组织名
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable, you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CTransparentWnd* pFrame = new CTransparentWnd;
m_pMainWnd = pFrame;
pFrame->CreateTransparent(TEXT("Wiser"));
// The one and only window has been initialized, so show and update it.
pFrame->ShowWindow(SW_SHOW);
pFrame->UpdateWindow();
return TRUE;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -