?? 真的打呀.cpp
字號(hào):
// 真的打呀.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,"真的打呀");//阻止本系統(tǒng)二次運(yùn)行
if(hMutex==NULL||ERROR_ALREADY_EXISTS==::GetLastError()) return FALSE;
/////////////////////////////////////////////////////////////
m_Cur0 = LoadCursor(IDC_CURSOR0);//調(diào) 光標(biāo)
if (!m_Cur0) return FALSE;
m_Cur1 = LoadCursor(IDC_CURSOR1);//調(diào)許光標(biāo)
if (!m_Cur1) return FALSE;
m_Cur2 = LoadCursor(IDC_CURSOR2);//調(diào)槍光標(biāo)
if (!m_Cur2) return FALSE;
m_Cur3 = LoadCursor(IDC_CURSOR3);//調(diào)禁光標(biāo)
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;
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -