setdlg.h

来自「EVC开发的手持导航的用户操作界面」· C头文件 代码 · 共 65 行

H
65
字号
#if !defined(AFX_SETDLG_H__D1DB3285_1633_4533_8948_B97CADA6E9B9__INCLUDED_)
#define AFX_SETDLG_H__D1DB3285_1633_4533_8948_B97CADA6E9B9__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSetDlg dialog

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

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


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSetDlg)
	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 m_map,int i);
	void DrawInterface(CDC &dc);
	void SetToolRectangle();
	CRect m_rect[9];
	int	m_prePick ;			//the last time picked button
	int m_currentPick ;		//the current pick button
	BOOL m_bIsExecute ;
	BOOL m_NavRefresh ;
protected:

	// Generated message map functions
	//{{AFX_MSG(CSetDlg)
	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_SETDLG_H__D1DB3285_1633_4533_8948_B97CADA6E9B9__INCLUDED_)

⌨️ 快捷键说明

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