NvDecoder Display Window Controls....

I am going to use the NvDecoder to create a play, pause, stop button.

First, whether to proceed in the nvdecodeD3D11 sample project, or
I am creating a new MFC project environment and I am worried about whether to proceed from there.

If the current decoding is done, the rendering window starts and ends when it finishes. I wonder if there is a way to maintain it.

I would like to use this project for the first time to study Windows programming or MFC and to make it like a player controlling simple buttons. If you have any related resources or help, please let me know.

Thank you in advance for your reply.