View Single Post
Old 01-18-2017, 08:56 PM   #287
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
Default

Quote:
Originally Posted by karbomusic View Post
Typically in windows GUIs there is a 'loaded' event. I'm assuming the API doesn't expose it but to call a function as soon as fully loaded, that's the way to do it.
The API does expose the Reaper main window HWND, so maybe something can be done with that, but argh...What a pain. Also there's no guarantee what works on Windows can easily be made to work on macOS too.

IMHO the Reaper API overall should get more callback/event style functionality. (Also for ReaScript.)
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
Xenakios is offline   Reply With Quote