Quote:
Originally Posted by Deric
SendMessage(g_hwnd,WM_COMMAND,IsKeyDown(VK_SHIFT)? ID_INSERT_MARKERRGN:ID_INSERT_MARKER,0)
|
Try changing that to :
SendMessage(g_hwnd,WM_COMMAND,40291,0);
(40291 here being the command number for view fx chain for current track.)
SendMessage is basically another way to make Reaper to execute commands. (It's a Windows function that sends messages to the window here spesified by g_hwnd). g_hwnd sort of being the variable for Reaper etc here...I forgot about this method of executing commands, sorry, as I thought Main_OnCommand could be a bit cleaner etc...