I can't speak for the original poster, but I was aluding to how to setup the program to respond to global keyboard events. While I think the original poster wanted to control the app using the Windows API or other means.
For example, to be able to press Ctrl-Shift-P or Pause on your multimedia keyboard (hypothetically) to pause music playback even though MediaPortal doesn't have focus. Right now, MediaPortal is setup to only respond to event messages when it has focus.
Once I have time, I'll probably code in a global message handler/hook, but for now it will have to wait. |