hotkey.h

来自「PasswordViewer 是一个集察看屏保口令、Access数据库口令、CM」· C头文件 代码 · 共 22 行

H
22
字号

// The following ifdef block is the standard way of creating macros which make exporting 
// from a DLL simpler. All files within this DLL are compiled with the HOTKEY_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see 
// HOTKEY_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.

#define HOTKEY_API __declspec(dllexport)__stdcall

#define WM_HOTKEY_UP		WM_USER + 3000
#define WM_HOTKEY_DOWN		WM_USER + 3001

struct CHotKey
{
	WORD wVirtualKey;
	WORD wModifiers;
};


BOOL HOTKEY_API InstallHotKey(HWND hWnd, CHotKey* pHotKeys, DWORD nCount);
BOOL HOTKEY_API UninstHotKey();

⌨️ 快捷键说明

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