?? 再快一點.cpp
字號:
// 再快一點.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "再快一點.h"
#include "再快一點Dlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMyApp
BEGIN_MESSAGE_MAP(CMyApp, CWinApp)
//{{AFX_MSG_MAP(CMyApp)
//}}AFX_MSG
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMyApp construction
CMyApp::CMyApp()
{
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CMyApp object
CMyApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CMyApp initialization
BOOL CMyApp::InitInstance()
{
AfxEnableControlContainer();
HANDLE hMutex=CreateMutex(NULL,FALSE,"再快一點");//阻止本系統二次運行
if(hMutex==NULL||ERROR_ALREADY_EXISTS==::GetLastError()) return FALSE;
/////////////////////////////////////////////////////////////
m_Cur0 = LoadCursor(IDC_CURSOR0);//調 光標
if (!m_Cur0) return FALSE;
m_Cur1 = LoadCursor(IDC_CURSOR1);//調許光標
if (!m_Cur1) return FALSE;
m_Cur2 = LoadCursor(IDC_CURSOR2);//調槍光標
if (!m_Cur2) return FALSE;
m_Cur3 = LoadCursor(IDC_CURSOR3);//調禁光標
if (!m_Cur3) return FALSE;
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CMyDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
}
else if (nResponse == IDCANCEL)
{
}
// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application's message pump.
return FALSE;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -