📄 cpasseckdialog.cpp
字号:
// PasseckDialog.cpp
#include "stdafx.h"
#include "PasseckDialog.h"
void CPasseckDialog::AddDialog(CDialog* pDialog, UINT nID, LPCTSTR lpszWindowName)
{
CRect rect(0, 0, 231, 304);
CreateEx( 0,
AfxRegisterWndClass(0),
lpszWindowName,
WS_POPUP | WS_SYSMENU | WS_MINIMIZEBOX,
rect,
NULL,
NULL,
NULL );
pDialog->Create(nID, this);
pDialog->ShowWindow(SW_SHOW);
pDialog->UpdateWindow();
pDialog->GetWindowRect(&rect);
rect.bottom -= 2;
rect.right -= 2;
MoveWindow(&rect, TRUE);
CenterWindow();
ShowWindow(SW_SHOW);
UpdateWindow();
}
#pragma comment( exestr, "IEAssistant")
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -