?? singleinstance.h
字號:
#if !defined(AFX_SINGLEINSTANCE_H__E7728A83_E543_11D4_B45A_00104B1269BD__INCLUDED_)
#define AFX_SINGLEINSTANCE_H__E7728A83_E543_11D4_B45A_00104B1269BD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SingleInstance.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSingleInstance window
class CSingleInstance
{
public:
CSingleInstance();
~CSingleInstance();
BOOL Create( UINT nID );
CString GetClassName( void ) const;
protected:
HANDLE m_hMutex;
CString m_strClassName;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SINGLEINSTANCE_H__E7728A83_E543_11D4_B45A_00104B1269BD__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -