Re: PE Programming for dummies
Posted: Thu Jan 04, 2024 9:25 pm
I played around bit with my PE test loop and found the following (at least on QPC):
- Cursor keys are not considered "keys" as such in pure PTR programs as yours (it's different in WM programs, though. In an application subwindow, you can perfectly catch them as keys)
- Instead of being keys, they are considered pointer move commands (in CKEYON mode)
- Other than in CKEYON mode, I can't seem to be able to make RDPT terminate at all on cursor keys. RDPT seems to ignore them completely. In CKEYON mode, RDPT returns a pointer move notification with no key press
- If I place a KEYROW 1 directly after the RDPT call, I seem to be safely able to catch cusor key presses. I think that should be a solution to your problem