NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 41 42 43 44 45 … 93 Next »
PostMessage() / IR32 No-Focus compatibility

 
  • 0 Vote(s) - 0 Average
PostMessage() / IR32 No-Focus compatibility
HydroChronic
Offline

Member

Posts: 106
Threads: 23
Joined: Jan 2007
#1
2007-07-25, 06:26 PM
Hey Everyone,

I am trying to add functionality to my plugin's Internal Player which will allow applications (including Hauppauge's IR32) to use Windows API functions (SendMessge and PostMessage) in order to pass key inputs to the Player. I am having problems figuring how to capture these events though. I am beginning to think that I need to register a Windows Message using RegisterWindowMessage(), but as I read the documentation on this I am not sure that the same integer value will be given to the string for each computer.

Can anyone give me an idea as to where I need to go from here. Essentially I am trying to get the same effect as sub has for GBPVR, where on a certain message integer (32771 i believe) GBPVR parses out the system key identifiers and reacts as if a keypress has occured.

Thanks
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#2
2007-07-25, 06:36 PM
Most windows apps dont bother calling RegisterWindowMessage, and instead just use WM_USER + some number, then watch messages with that ID.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  PostMessage mvallevand 9 3,118 2012-06-08, 04:06 AM
Last Post: mvallevand
  Focus imilne 6 2,557 2011-07-16, 09:37 AM
Last Post: imilne
  Regaining focus McBainUK 2 1,678 2009-12-31, 04:31 PM
Last Post: McBainUK
  Set focus to list McBainUK 4 2,036 2009-12-09, 07:54 PM
Last Post: whurlston
  Finding focus of a control? bgowland 1 1,219 2008-02-02, 06:02 AM
Last Post: bgowland
  Set focus to another process? bgowland 2 1,456 2008-01-12, 03:18 AM
Last Post: bgowland
  Keeping GB-PVR in focus liteswap 6 2,311 2007-04-26, 04:07 PM
Last Post: pastro
  stopping the screensaver taking focus idkpmiller 2 1,539 2007-01-21, 12:43 AM
Last Post: idkpmiller
  I need to check if a specific process has focus idkpmiller 4 1,891 2007-01-15, 11:17 PM
Last Post: whurlston
  AxWMPLib.AxWindowsMediaPlayer in a form alwys has focus reven 8 4,084 2006-10-13, 11:44 AM
Last Post: reven

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode