Can someone please post a sample C++ snippet from VC++ 6 that will make one of those dialog boxes popup so I can have the user just point to the file they want to open and hit ok to store the location and open the file?
Thanks in advance.
Can someone please post a sample C++ snippet from VC++ 6 that will make one of those dialog boxes popup so I can have the user just point to the file they want to open and hit ok to store the location and open the file?
Thanks in advance.
Well, I think this is a more specific windows programming question, so, you'll find more answers in the windows programming board.
moved ...
They're referred to as 'common dialog boxes'.
Search this board for GetOpenFileName. You might also want to look at GetSaveFileName.
Don't forget to read up on those functions on msdn (examples there too):
GetOpenFileName
GetSaveFileName
First of all, I am using MFC, secondly, sorry for putting this here instead of the windows board, and third, the msdn isn't helping...