📄 message.h
字号:
#ifndef MESSAGE_H
#define MESSAGE_H
#define MOUSE_NONE 0
#define MOUSE_FLY 1
#define MOUSE_LCLICK 2
#define MOUSE_RCLICK 3
//#define MOUSE_LEAVE 4 //post when leave the last rect
//#define MOUSE_DRAG 3
#define KEYBD_NONE 0
#define KEYBD_CTRL 1
#define KEYBD_CHAR 2
#define KEYBD_SPECIAL 3
#define SPECIAL_KEY_CTRL 4
#define SPECIAL_KEY_ALT 5
#define SPECIAL_KEY_LSHIFT 6
#define SPECIAL_KEY_RSHIFT 7
/*
#define MODIFY_KEY_INSERT_ON 7
#define MODIFY_KEY_CAPS_ON 8
#define MODIFY_KEY_NUMLOCK_ON 9
#define MODIFY_KEY_SCROLLLOCK_ON 10
*/
#define CTRL_KEY_ESC 0x11b
#define CTRL_KEY_F1 0x3b00
#define CTRL_KEY_F2 0x3c00
#define CTRL_KEY_F3 0x3d00
#define CTRL_KEY_F4 0x3e00
#define CTRL_KEY_F5 0x3f00
#define CTRL_KEY_F6 0x4000
#define CTRL_KEY_F7 0x4100
#define CTRL_KEY_F8 0x4200
#define CTRL_KEY_F9 0x4300
#define CTRL_KEY_F10 0x4400
#define CTRL_KEY_TAB 0xf09
#define CTRL_KEY_ENTER 0x1c0d
#define CTRL_KEY_BACK 0xe08
#define CTRL_KEY_SPACE 0x3920
#define CTRL_KEY_INSERT 0x5200
#define CTRL_KEY_HOME 0x4700
#define CTRL_KEY_PAGEUP 0x4900
#define CTRL_KEY_PAGEDN 0x5100
#define CTRL_KEY_DEL 0x5300
#define CTRL_KEY_END 0x4f00
#define CTRL_KEY_UP 0x4800
#define CTRL_KEY_DOWN 0x5000
#define CTRL_KEY_LEFT 0x4b00
#define CTRL_KEY_RIGHT 0x4d00
#define CTRL_KEY_POINT 0x342e
#define CTRL_KEY_MAOH 0x273a
#define CTRL_KEY_GEN 0x2b5c
#define DM_NONE 0
#define DM_MOUSE 1
#define DM_KEYBD 2
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -