Generic window with container control

I have a generic window which has an empty container control.
I have created a container control with some fields and would like to replace the empty container control with it passing it as argument.
Is that possible or how can I do it ?

Go to the docs and search for EmbedWithin.

thanks Greg, I have a try

works fine, thanks Greg