craidodlg.h

来自「EVC下」· C头文件 代码 · 共 91 行

H
91
字号
// CRaidoDlg.h : header file
//

#if !defined(AFX_CRAIDODLG_H__5B3191E2_B8BD_4151_A981_27B21A65590F__INCLUDED_)
#define AFX_CRAIDODLG_H__5B3191E2_B8BD_4151_A981_27B21A65590F__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000



/////////////////////////////////////////////////////////////////////////////
// CCRaidoDlg dialog

class CCRaidoDlg : public CDialog
{
// Construction
public:
	
	
	void DrawInterface(CDC &dc);
	void CopyBMP(int m_map, int i);
	CCRaidoDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CCRaidoDlg)
	enum { IDD = IDD_CRAIDO_DIALOG };
	CStatic	m_StaticMHZ;//静态文本   MHZ
	CStatic	m_Mfz;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCRaidoDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
public:

	void SetToolRectangle();
	 void On0();
	 void On7();
	 void On8();
	 void On9();
	 void On4();
	 void On5();
	 void On6();
	 void On1();
	 void On2();
	 void On3();
	 void OnADD();
	 void OnSUB();
	 void OnCE();
	 void OnOKFM();
	 void OnDIAN();
public:
	void SendCRaidoMessage(float xxx);
	int CStringToInt(CString str);
	double CStringToDouble(CString m_string);
	CBitmap m_BackScreenBitmap;
	CRect m_rect[16];
	float fMHZ; //频率
	HBRUSH m_brMine;
	
	HANDLE hBat;
	CString strMFZ; //频率字符串。
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCRaidoDlg)
	virtual BOOL OnInitDialog();
	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();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CRAIDODLG_H__5B3191E2_B8BD_4151_A981_27B21A65590F__INCLUDED_)

⌨️ 快捷键说明

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