⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 brightdlg.h

📁 EVC开发的手持导航的用户操作界面
💻 H
字号:
#if !defined(AFX_BRIGHTDLG_H__3284080F_C4CF_4192_80CD_3BE27100D806__INCLUDED_)
#define AFX_BRIGHTDLG_H__3284080F_C4CF_4192_80CD_3BE27100D806__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BrightDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CBrightDlg dialog

class CBrightDlg : public CDialog
{
// Construction
public:
	CBrightDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CBrightDlg)
	enum { IDD = IDD_BRIGHT };
	CStatic	m_staBright9;
	CStatic	m_staBright8;
	CStatic	m_staBright6;
	CStatic	m_staBright7;
	CStatic	m_staBright5;
	CStatic	m_staBright4;
	CStatic	m_staBright3;
	CStatic	m_staBright2;
	CStatic	m_staBright1;
	CStatic	m_staBright0;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBrightDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
private:
	UCHAR out;
	int m_Left,m_Top,m_Width,m_Height;
	CBitmap m_BackScreenBitmap;
public:
	void ShowBright(UCHAR bright);
	void OnBtnOK();
	void OnBtnSub();
	void OnBtnAdd();
	void CopyBMP(int m_map, int i);
	void DrawInterface(CDC &dc);
	void SetToolRectangle();
//	void CopyBMP(int m_map,int i);
//	void DrawInterface(CDC &dc);
//	void SetToolRectangle();
	CRect m_rect[7];
	int	m_prePick ;			//the last time picked button
	int m_currentPick ;		//the current pick button
	BOOL m_bIsExecute ;
	BOOL m_NavRefresh ;
	
public:
	void OnBtn_2_Right();
	void OnBtn_2_Left();
	void OnBtn_1_Right();
	void OnBtn_1_Left();
	CString m_strAc;
	CString m_strBat;

	CString m_strAcTime[9];
	CString m_strBatTime[9];
protected:

	// Generated message map functions
	//{{AFX_MSG(CBrightDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	virtual void OnOK();
	afx_msg void OnPaint();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BRIGHTDLG_H__3284080F_C4CF_4192_80CD_3BE27100D806__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -