⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 csuperhotkeycontrol.h

📁 vc环境下的pgp源码
💻 H
字号:
//////////////////////////////////////////////////////////////////////////////
// CSuperHotKeyControl.h
//
// Declaration of class CSuperHotKeyControl.
//////////////////////////////////////////////////////////////////////////////

// $Id: CSuperHotKeyControl.h,v 1.4 1998/12/14 18:58:32 nryan Exp $

// Copyright (C) 1998 by Network Associates, Inc.
// All rights reserved.

#ifndef Included_CSuperHotKeyControl_h	// [
#define Included_CSuperHotKeyControl_h


////////////////////////////
// Class CSuperHotKeyControl 
////////////////////////////

// A CSuperHotKeyControl is like a CHotKeyCtrl except it handles many more key
// combinations.

class CSuperHotKeyControl : public CEdit
{
public:
				CSuperHotKeyControl();
	virtual		~CSuperHotKeyControl();

	PGPUInt16	GetHotKey();
	void		SetHotKey(PGPUInt16 code);

	//{{AFX_VIRTUAL(CSuperHotKeyControl)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	//}}AFX_VIRTUAL

protected:
	PGPUInt8	mPrimaryVKey;		// the primary (non-mod) key
	PGPUInt8	mModKeyState;		// state of alt, control, shift

	void	ProcessKeyDown(PGPUInt8 vKey, PGPUInt32 wmKeyData);
	void	UpdateHotKeyDisplay();

	//{{AFX_MSG(CSuperHotKeyControl)
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}

#endif	// ] Included_CSuperHotKeyControl_h

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -