www.pudn.com > CraftFTP_gb.rar > DialogEx.h


#if !defined(AFX_DIALOGEX_H__E6FAF874_905C_4230_8BA2_1AB1996FF529__INCLUDED_) 
#define AFX_DIALOGEX_H__E6FAF874_905C_4230_8BA2_1AB1996FF529__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// DialogEx.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CDialogEx dialog 
 
class CGroupFrame : public CObject 
{ 
public: 
	virtual void Enable(BOOL bEnable); 
	void SetFrame(CWnd * pParentWnd,UINT nFrmCtl, UINT nBtnCtrl); 
 
	CWnd *	m_pFrame;  
	CWnd *	m_pDialog; 
	CWnd *	m_pButton; 
	CRect	m_rFrm; 
	CDWordArray m_adwWndHandles; 
 
	static BOOL WINAPI IsRectContainedInRect(CRect &rcChild, CRect &rcMother); 
	static BOOL CALLBACK EnumChildWnds(HWND hWnd, CGroupFrame * pObj); 
 
protected: 
 
}; 
 
class CDialogEx : public CDialog 
{ 
// Construction 
public: 
	CDialogEx();   // standard constructor 
	CDialogEx(LPCTSTR lpszTemplateName, CWnd* pParentWnd = NULL); 
	CDialogEx(UINT nIDTemplate, CWnd* pParentWnd = NULL); 
 
// Dialog Data 
	//{{AFX_DATA(CDialogEx) 
		// NOTE: the ClassWizard will add data members here 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDialogEx) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	virtual const DWORD* GetHelpIDs() = 0; 
 
	// Generated message map functions 
	//{{AFX_MSG(CDialogEx) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnNcRButtonDown(UINT nHitTest, CPoint point); 
	//}}AFX_MSG 
	afx_msg LONG OnHelp(UINT wParam, LONG lParam); 
	afx_msg LONG OnHelpContextMenu(UINT wParam, LONG lParam); 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DIALOGEX_H__E6FAF874_905C_4230_8BA2_1AB1996FF529__INCLUDED_)