View Single Post
Old 01-20-2018, 02:08 PM   #295
Lawrence
Human being with feelings
 
Join Date: Mar 2007
Posts: 21,551
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.
You guys are way ahead of me obviously, but I had the same thought and had (in other languages) done much the same, maybe run a loop until the hwnd exists, to trigger something after load.

The only issue (other than not being a good coder) was trying to figure out if that should literally happen as soon as the hwnd exists or if there is another thing to parse for to know if app is "fully loaded", as opposed to it having only just created it's main window.

Am I wrong in assuming (different topic) that the C++ API is no longer really needed in Reaper now with all of the various scripting choices or are there still things that only C++ approach can handle?
Lawrence is offline   Reply With Quote