当前位置:网站首页>Pressing Ctrl will cause several key press messages
Pressing Ctrl will cause several key press messages
2022-07-24 20:31:00 【51CTO】
He Zhidan
( One ), Create a new single document project CtrlEg.
( Two ), by CCtrlEgView Of WM_KEYDOWN News and WM_KEYUP Message add response function . The specific code is as follows :
( 3、 ... and ) Press only Ctrl key , give the result as follows :
CCtrlEgView::OnKeyDown nChar = 17 nFlags = 1d
CCtrlEgView::OnKeyUp nChar = 17 nFlags = c01d
( Four ) Press Ctrl+v, give the result as follows :
CCtrlEgView::OnKeyDown nChar = 17 nFlags = 1d
CCtrlEgView::OnKeyUp nChar = 17 nFlags = c01d
CCtrlEgView::OnKeyUp nChar = 86 nFlags = c02f
( 5、 ... and ), Delete “ Paste ” Shortcut keys for commands , The specific operation is from the shortcut key resource IDR_MAINFRAME Delete item ID_EDIT_PASTE. Press again Ctrl+v key , give the result as follows :
CCtrlEgView::OnKeyDown nChar = 17 nFlags = 1d
CCtrlEgView::OnKeyDown nChar = 86 nFlags = 2f
CCtrlEgView::OnKeyUp nChar = 17 nFlags = c01d
CCtrlEgView::OnKeyUp nChar = 86 nFlags = c02f
attach :
#define VK_CONTROL 0x11
VK_0 thru VK_9 are the same as ASCII '0' thru '9' (0x30 - 0x39)
VK_A thru VK_Z are the same as ASCII 'A' thru 'Z' (0x41 - 0x5A)
边栏推荐
- Pix2seq: Google brain proposes a unified interface for CV tasks!
- Put apples
- Google's display of Chrome browser icons was abandoned, and it was intended to be a small rocket
- [JVM] selection of garbage collector
- What is IDE (integrated development environment)
- [training Day6] game [mathematics]
- Generate self signed certificate: generate certificate and secret key
- In the era of new knowledge economy, who is producing knowledge?
- Microservice architecture | service monitoring and isolation - [sentinel] TBC
- 1. Mx6u-alpha development board (buzzer experiment)
猜你喜欢

Install MySQL 5.7.37 on windows10

Bypass using the upper limit of the maximum number of regular backtracking

Methods of using tyrosine modified peptide nucleic acid PNA | Tyr PNA | BZ Tyr PNA | 99Tcm survivinmrna antisense peptide nucleic acid
![[advanced data mining technology] Introduction to advanced data mining technology](/img/93/cb5ee07bff50662ad2496ca2bb39da.png)
[advanced data mining technology] Introduction to advanced data mining technology
![[training Day10] silly [simulation] [greed]](/img/31/94c32e05b498f8ad192f8ec2c500ca.png)
[training Day10] silly [simulation] [greed]

Covid-19-20 - basic method of network segmentation based on vnet3d

Upgrade appium automation framework to the latest 2.0

Understand the domestic open source Magnolia license series agreement in simple terms
![[training Day10] linear [mathematics] [thinking]](/img/bf/0082dbe88c579bbb7adc014c60a0be.png)
[training Day10] linear [mathematics] [thinking]

Connect the smart WiFi remote control in the home assistant
随机推荐
Do you want to verify and use the database in the interface test
Vscode connected to the remote server cannot format the code / document (resolved)
MySQL stored procedure
Leetcode 300 longest increasing subsequence (greedy + binary search for the first element subscript smaller than nums[i]), leetcode 200 island number (deep search), leetcode 494 target sum (DFS backtr
Leetcode 206 reverse linked list, 3 longest substring without repeated characters, 912 sorted array (fast row), the kth largest element in 215 array, 53 largest subarray and 152 product largest subarr
(forward) usage of PostMessage
How to learn automated testing? Can you teach yourself?
Processing of null value of Oracle notes
PC port occupation release
Istio二之流量劫持过程
Alibaba sentinel basic operation
Bypass using the upper limit of the maximum number of regular backtracking
Each blogger needs to ask himself seven basic questions
[msp430g2553] graphical development notes (2) system clock and low power consumption mode
Expression evaluation (stack)
Upgrade appium automation framework to the latest 2.0
Generate self signed certificate: generate certificate and secret key
ma.glasnost.orika. MappingException:No converter registered for conversion from Date to LocalDateTime
Choose the appropriate container runtime for kubernetes
Evolution of network IO model