I want to redirect Space key press action to display another char (whitespace char '·').
What handler or windows message can I use to do that?
I want to redirect Space key press action to display another char (whitespace char '·').
What handler or windows message can I use to do that?
Copyright © 2021 Jogjafile Inc.
One method is to intercept the key in
PreTranslateMessageEdit: To insert unicode characters with Alt key:
Declare member data:
Initialize
m_key_value = 0;To check if Alt key is pressed down:
We want to see if number keys are pressed while Alt key is down. We check
WM_SYSKEYUP(don't checkWM_SYSKEYDOWbecause it results in repeat characters)