View Single Post
Old 04-05-2008, 05:23 PM   #17
Deric
Human being with feelings
 
Join Date: Mar 2007
Posts: 794
Default

That's great that Xenakios... I think you've got it.

I was just coming back to post that this works:

SendMessage(g_hwnd,WM_COMMAND,ID_MARKER_NEXT,0);

However, of course, we'd need every command to be included as opposed to just the command-code.

Anyway, the above does work so, assuming the codes pass in the same way, that should be the real deal!

Cheers Xenakios! I'll post back (into this post) shortly (say ten minutes) with an update on the success of using the codes instead of the ID_etc.

Cheers!

Edit: Yes, well done Xenakios, that works a treat! (including the command-number). Great stuff! I'll try out a few others now too. I can see how Justin's implemented momentary-toggle as far as Shift goes (see previous post), but what do you think is the best way to update, and check, the status of a latching-toggle? Do you know how I can implement a new variable for a latching-toggle?
__________________
REAPER? Oh yes...

Last edited by Deric; 04-05-2008 at 05:41 PM. Reason: Update and question.
Deric is offline   Reply With Quote