INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: How to use the messaging interface  (Read 1338 times)

Zoner

  • Regular Member
  • World Citizen
  • ***
  • Posts: 198
  • nothing more to say...
How to use the messaging interface
« on: July 04, 2004, 07:31:56 pm »

Maybe I'm the only stupid one around here, but I just spent several hours trying to decrypt the instructions in mccommands.h and use the messaging interface.  IMHO a few more examples are definitely needed in there.  Here is how it works:

HWND MCWindow = FindWindow("MJFrame", NULL);
PostMessage(MCWindow, Command, MAKE_MCC_PLAYBACK_PARAM(Parameter, Zone));

Very simple, but it took me hours to work that out.  I had initially thought that you were supposed to OR the command and the param/zone together.
Logged
Pages: [1]   Go Up