📄 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 + -