#include <PicturesSettings.h>
Public Types | |
enum | { IDD = IDD_PICTURES } |
Public Member Functions | |
bool | saveSettings (bool) |
afx_msg void | OnBnClickedPicturesOk () |
afx_msg void | OnBnClickedPicturesCancel () |
afx_msg void | OnBnClickedPicturesButSelect () |
Protected Member Functions | |
virtual void | DoDataExchange (CDataExchange *pDX) |
virtual BOOL | OnInitDialog () |
Protected Attributes | |
CEdit | editSyncType |
CEdit | editFolder |
CButton | checkInclude |
CButton | butSelectFolder |
CEdit | editRemote |
CStatic | groupDirection |
CStatic | groupFolder |
CStatic | groupAdvanced |
Private Member Functions | |
bool | browseFolder (std::wstring &folderpath, const WCHAR *defaultFolder=NULL, const WCHAR *szCaption=NULL, const HWND hOwner=NULL) |
Opens the default Windows dialog to select a folder in the file system. | |
Private Attributes | |
WindowsSyncSourceConfig * | ssconf |
The SyncSource configuration for pictures. |
bool CPicturesSettings::browseFolder | ( | std::wstring & | folderpath, | |
const WCHAR * | defaultFolder = NULL , |
|||
const WCHAR * | szCaption = NULL , |
|||
const HWND | hOwner = NULL | |||
) | [private] |
Opens the default Windows dialog to select a folder in the file system.
folderpath | [IN-OUT] the user selected folder path, untouched if the user cancelled | |
defaultFolder | [OPTIONAL] the default folder to start browsing | |
szCaption | [OPTIONAL] the caption of the dialog to display | |
hOwner | [OPTIONAL] handle to the parent window. Set it in order to make the dialog modal |