📄 gpsdlg.h
字号:
// GPSDlg.h : header file
//
#if !defined(AFX_GPSDLG_H__D8821F4E_D6D6_43D3_9BE0_912C886685E8__INCLUDED_)
#define AFX_GPSDLG_H__D8821F4E_D6D6_43D3_9BE0_912C886685E8__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
#define WM_SUSPEND WM_USER+9
// CGPSDlg dialog
class CGPSDlg : public CDialog
{
// Construction
public:
CGPSDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CGPSDlg)
enum { IDD = IDD_GPS_DIALOG };
CStatic m_BT4;
CStatic m_BT3;
CStatic m_BT2;
CStatic m_BT1;
CStatic m_BT0;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGPSDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
private:
void ShowBattery(char num);
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[6];
CRect logo;
int m_prePick ; //the last time picked button
int m_currentPick ; //the current pick button
BOOL m_bIsExecute ;
BOOL m_NavRefresh ;
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CGPSDlg)
virtual BOOL OnInitDialog();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnCancel();
afx_msg void OnPaint();
virtual void OnOK();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
afx_msg HRESULT OnSuspend();
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GPSDLG_H__D8821F4E_D6D6_43D3_9BE0_912C886685E8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -