www.pudn.com > MyMFCVega.rar > SetEnvDlg.h


#if !defined(AFX_SETENVDLG_H__F8E5FF66_963B_42D8_8C5F_0A639E769E5D__INCLUDED_) 
#define AFX_SETENVDLG_H__F8E5FF66_963B_42D8_8C5F_0A639E769E5D__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// SetEnvDlg.h : header file 
// 
#include "MyMFCVegaView.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CSetEnvDlg dialog 
 
class CSetEnvDlg : public CDialog 
{ 
// Construction 
public: 
	 
	COLORREF FillColor(UINT nIDC); 
	CSetEnvDlg(CMyMFCVegaView* pParent);   // standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CSetEnvDlg) 
	//enum { IDD = IDD_ENV_DIALOG }; 
	enum {IDD = IDD_DIALOG1}; 
	CStatic m_SkyColor; 
	CStatic m_FogColor; 
	CSliderCtrl	m_SldTod; 
	CButton	m_Light; 
	CButton	m_Fog; 
	CString m_showTod; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CSetEnvDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	CMyMFCVegaView* m_pVegaView; 
 
	// Generated message map functions 
	//{{AFX_MSG(CSetEnvDlg) 
	afx_msg void OnCheckFog(); 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnCheckLight(); 
	virtual void OnOK(); 
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); 
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point); 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_SETENVDLG_H__F8E5FF66_963B_42D8_8C5F_0A639E769E5D__INCLUDED_)