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

📄 tooldlg.h

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

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

/////////////////////////////////////////////////////////////////////////////
// CToolDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CToolDlg)
	enum { IDD = IDD_TOOLDLG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


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

// Implementation
private:
	int m_Left,m_Top,m_Width,m_Height;
	CBitmap m_BackScreenBitmap;
public:
	void CopyBMP(int res,int n);
//	void CopyBMP(int res,int n,CDC dc);
	void DrawInterface(CDC &dc);
	void SetToolRectangle();
	CRect m_rect[6];
	int	m_prePick ;			//the last time picked button
	int m_currentPick ;		//the current pick button
	//the current pick button
	BOOL m_bIsExecute ;
	BOOL m_NavRefresh ;
protected:

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

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

#endif // !defined(AFX_TOOLDLG_H__AF38B4E8_F576_4C1D_949A_CC21CAE18559__INCLUDED_)

⌨️ 快捷键说明

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