instancecheck.h
来自「c++系统开发实例精粹内附的80例源代码 环境:windows2000,c++」· C头文件 代码 · 共 34 行
H
34 行
//////////////////////////////////////////////////////////////////////
// FileFury
// Copyright (c) 2000 Tenebril Incorporated
// All rights reserved.
//
// This source code is governed by the Tenebril open source
// license (http://www.tenebril.com/developers/opensource/license.html)
//
// For more information on this and other open source applications,
// visit the Tenebril OpenSource page:
// http://www.tenebril.com/developers/opensource
//
//////////////////////////////////////////////////////////////////////
#ifndef INSTANCECHECK_INCLUDE
#define INSTANCECHECK_INCLUDE
class CInstanceCheck
{
public:
CInstanceCheck();
~CInstanceCheck();
bool Create(LPCTSTR lpClassName, bool RegisterWindow,
bool BringToTop);
CString GetClassName();
protected:
HANDLE m_hMutex;
CString m_strClassName;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?