In order for scripts to
1) accurately track mouse movement over the MIDI editor and determine the part of the MIDI editor under the mouse, the CC value, etc, and
2) accurately position script GUIs over the editor,
scripts need access to the exact screen coordinates of the MIDI editor client area.
The item state chunk CFGEDIT field cannot be used, since it only gives the coordinates of the last-used UNmaximized size and position (and also includes the window frame).
It would therefore be very helpful if MIDIEditor_GetSetting_int could return these coordinates. Either all four numbers together, or separately, each with its own "setting_desc".
Code:
integer reaper.MIDIEditor_GetSetting_int(HWND midieditor, string setting_desc)