keyhelper.h
来自「通过ODBC API实现对数据库的访问.虽然用ODBC访问数据库比较麻烦」· C头文件 代码 · 共 51 行
H
51 行
//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a part of the BCGControlBar Library
// Copyright (C) 1998-2000 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and conditions
// of the accompanying license agreement.
//*******************************************************************************
// KeyHelper.h: interface for the CBCGKeyHelper class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_KEYHELPER_H__283E6045_54C6_11D2_B110_D085EB8D1B3C__INCLUDED_)
#define AFX_KEYHELPER_H__283E6045_54C6_11D2_B110_D085EB8D1B3C__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CBCGKeyHelper : public CObject
{
public:
CBCGKeyHelper();
CBCGKeyHelper(LPACCEL lpAccel);
virtual ~CBCGKeyHelper();
// Operations:
public:
void Format (CString& str) const;
protected:
void AddVirtKeyStr (CString& str, UINT uiVirtKey, BOOL bLast = FALSE) const;
// Atttributes:
public:
void SetAccelerator (LPACCEL lpAccel)
{
m_lpAccel = lpAccel;
}
protected:
LPACCEL m_lpAccel;
};
#endif // !defined(AFX_KEYHELPER_H__283E6045_54C6_11D2_B110_D085EB8D1B3C__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?