📄 initialdlg.cpp
字号:
// aboutdlg.cpp : implementation of the CAboutDlg class
//
/////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "resource.h"
#include "InitialDlg.h"
LRESULT CInitialDlg::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
{
CenterWindow(m_hWnd);
::SetCursor(LoadCursor(NULL, IDC_WAIT));
::SetTimer(m_hWnd,1,5000,NULL);
SHDoneButton(m_hWnd,SHDB_HIDE);
return TRUE;
}
LRESULT CInitialDlg::OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
{
EndDialog(wID);
::SetCursor(LoadCursor(NULL, IDC_NO));
return 0;
}
LRESULT CInitialDlg::OnTimer(UINT /*uMsg*/, WPARAM wParam, LPARAM /*lParam*/, BOOL& /*bHandled*/)
{
KillTimer(int(wParam));
::EndDialog(m_hWnd,NULL);
::SetCursor(LoadCursor(NULL, IDC_NO));
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -