Eric Oulashin's C++ Audio Mixer 1.0
Functions
GUITools.h File Reference
#include <atlstr.h>
Include dependency graph for GUITools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

INT_PTR letUserBrowseForOneFile (const CString &pFileFilter, CString &pSelectedFile, CWnd *pParentWnd=nullptr)
 Lets the user select a single file.
 

Function Documentation

◆ letUserBrowseForOneFile()

INT_PTR letUserBrowseForOneFile ( const CString &  pFileFilter,
CString &  pSelectedFile,
CWnd *  pParentWnd = nullptr 
)

Lets the user select a single file.

Parameters
[in]pFileFilterThe filename filter
[out]pSelectedFileThis will be populated with the selected filename, if the user selected one
[in]pParentWndA pointer to the parent window. Defaults to nullptr.
Returns
The status code from the file dialog

Referenced by CAudioMixerCPPDlg::OnClickedButtonSelectOutputFile().