View Single Post
Old 02-12-2017, 07:59 AM   #21
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
Default

Quote:
Originally Posted by ceanganb View Post
I see. Any particular or technical reason to use ´setContentNonOwned´, any benefit or just a programming style? This is a beginner's question, I know, but will help me to develop a better sense on how the integration goes, and what errors I might avoid in the future.
setContentNonOwned can be used when you have instantiated your content component as a value (like the web browser is instantiated in the example) or as a pointer that you want to manage yourself for some reason. (For example, maybe you want to be able to move the component to a different parent component.)
__________________
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