1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- #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
- #include "ComboGridCtrl.h"
- #include "resource.h"
- #include "HoverButton.h"
- class CModeDlg : public CDialog
- {
- public:
- CArray<MODE_INFO*, MODE_INFO*> 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 );
- public:
- CModeDlg(CWnd* pParent = NULL);
-
- enum { IDD = IDD_MODE_DLG };
- CHoverButton m_DefaultsettingBtn;
- CHoverButton m_CancelBtn;
- CHoverButton m_OkBtn;
-
- CComboGridCtrl m_GridCtrl;
-
-
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
-
- protected:
-
-
- 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();
-
- DECLARE_MESSAGE_MAP()
- };
- #endif
|