#if !defined(AFX_MODEDLG_H__EA24C6B4_BEAC_4602_A0D9_9288E8EC65CE__INCLUDED_) #define AFX_MODEDLG_H__EA24C6B4_BEAC_4602_A0D9_9288E8EC65CE__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ModeDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CModeDlg dialog #include "ComboGridCtrl.h" #include "resource.h" #include "HoverButton.h" class CModeDlg : public CDialog { public: CArray pModeInfoes; CFont m_TitleFont; CString strTitle; CBitmap* pTitleBmp; void ShowTitle(); CFont m_Font; void UpdateCtrlState(); void GridVerifyData( ); void IniGridCtrlInfo( ); void SetGridCtrlColumnInfo( ); void InsertAllItem( ); void InsertItem( int nIndex, MODE_INFO* pItem ); // Construction public: CModeDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CModeDlg) enum { IDD = IDD_MODE_DLG }; CHoverButton m_DefaultsettingBtn; CHoverButton m_CancelBtn; CHoverButton m_OkBtn; //}}AFX_DATA CComboGridCtrl m_GridCtrl; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CModeDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CModeDlg) afx_msg BOOL OnEraseBkgnd(CDC* pDC); virtual void OnOK(); virtual BOOL OnInitDialog(); afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); virtual void OnCancel(); afx_msg void OnDefaultsettingBtn(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MODEDLG_H__EA24C6B4_BEAC_4602_A0D9_9288E8EC65CE__INCLUDED_)