GUI - windowed viewport

Hi all,
i am working a c++ project and i am asking how to show my game viewport inner a 2d texture as in figure.
I googled but without success, any suggestions, please?
Thanks

220106-monitor.jpg