Hi,
I’ve written a Windows application in Visual Studio .NET using C++. The main window of my application is a dialog window. I need to display a Save File Dialog window when one of the buttons on my main window is clicked. But my main window is a dialog window so I don’t have in the Toolbox the SaveFileDialog control. How can I manage to perform the SaveFile window visualization? I tried to instance SaveFileDialog class with the “new” operator but maybe I’m forgetting to include the correct library…
Thank you

Recommended Answers

All 3 Replies

in the button's event handler call GetSaveFileName()

Thank you very much, it works!!!
Sorry for the trivial question but it is not easy to find documentation on dialog window based application....
Thank you again!

Thank you very much, it works!!!
Sorry for the trivial question but it is not easy to find documentation on dialog window based application....
Thank you again!

In windows programming there is no such thing as a trival question:cheesy:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.