How to determine which of the two enter'ov pressed (num pad or main)?
2 answers
Process the WM_KEYDOWN message. In 24 bits lParam there will be a difference - 0 for normal Enter, 1 for num pad.
- Wow subtleties. Thank you very much, I will. - Range
- and how it to catch in procedure? There is no such, alas - Range
- Any form of keyboard messages arrive. - HasmikGaryaka
- Discovered, thank - Range
|
I'll have to grab the raw Raw Input keyboard (Windows) . In the virtual keyboard , which forwards events to the application, there are no differences between the enterrs.
|