?? 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;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -