Eric Oulashin's C++ Audio Mixer 1.0
Functions
GUITools.cpp File Reference
#include "stdafx.h"
#include "GUITools.h"
#include "afxdlgs.h"
Include dependency graph for GUITools.cpp:

Functions

INT_PTR letUserBrowseForOneFile (const CString &pFileFilter, CString &pSelectedFile, CWnd *pParentWnd)
 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().