How to add FileDialog to Windows MFC Dialog Application in VS2022

91 Views Asked by At

I have created an Windows MFC Dialog C++ application with VS2022 it builds and loads as expected. What I am trying to figure out is how to add the FileDialog class/function etc to open a file's. I know about using main dialog controls to add a button and launch function from a button press etc.

But how to add the FileDialog class to the project I am struggling to figure out, what are the steps please?

Many thanks in advance IMK PS I last did this in 2004 with very old version of VS, but how to do it in VS2022 has me stuck, sorry.

0

There are 0 best solutions below