How can I set vertical AND horizontal FoV independent from each other with a cine camera in C++?

To get the image to stretch to fill the window, no matter what the window dimensions are, you will have to use a render target to render from the camera, and then map the rendered part of that render target as a texture onto the window using a simple GUI widget bound to the target.