www.pudn.com > NewDir.zip > DirSelDlg.h, change:1999-05-17,size:1328b


#if !defined(AFX_DIRSELDLG_H__C12E4079_7C6D_11D1_9790_006008A2106F__INCLUDED_) 
#define AFX_DIRSELDLG_H__C12E4079_7C6D_11D1_9790_006008A2106F__INCLUDED_ 
 
#if _MSC_VER >= 1000 
#pragma once 
#endif // _MSC_VER >= 1000 
// DirSelDlg.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CDirSelDialog dialog 
 
class CDirSelDialog : public CFileDialog 
{ 
public: 
	 ~CDirSelDialog(); 
	CDirSelDialog( CString szTitle = "Select Directory"); 
	CString GetDirName(); 
 
	//Declare this as a friend 
	friend LRESULT CALLBACK WindowProcNew(HWND hwnd,UINT message, WPARAM wParam, LPARAM lParam); 
protected: 
	void ExecuteText(CString strNew); 
	void OnSplDirSelChanged(); 
	void OnFolderChange(); 
	int OnFileNameOK(); 
	void OnBtnDirOk(); 
	void OnChkFiles(); 
 
	CString m_szTitle; 
	CString m_szDirName; 
	CListBox m_FileList; 
	CFont m_Font; 
	CButton m_ChkBtn; 
	CButton m_SelBtn; 
	CComboBox m_SplDirCombo; 
 
	//{{AFX_MSG(CDirSelDialog) 
	virtual BOOL OnInitDialog(); 
	afx_msg long OnSpecialMsg(UINT, UINT); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Developer Studio will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DIRSELDLG_H__C12E4079_7C6D_11D1_9790_006008A2106F__INCLUDED_)