I’m developing some Accessability tools and I want to be able to send the application that has focus a “Go to the Previous Page” command.
I.E., if Windows Explorer has focus, passing the Alt+Leftarrow into the SendKeys.Send() function or if in a Powerpoint Presentation, it would send just the Leftarrow command.
Is there such a functionality or do I have to have a list of common applications and just work from that?
The closest thing to ‘Standard’ forward and backward commands would likely be WM_APPCOMMAND with an lParam of APPCOMMAND_BROWSER_BACKWARD or APPCOMMAND_BROWSER_FORWARD.
It’s still not guaranteed to work in every application, of course, but it should work for some.