📄 pic1dlg.h
字号:
// pic1Dlg.h : header file
//
#if !defined(AFX_PIC1DLG_H__EF331356_8F9F_4E5B_94FB_2C949FFF9060__INCLUDED_)
#define AFX_PIC1DLG_H__EF331356_8F9F_4E5B_94FB_2C949FFF9060__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CPic1Dlg dialog
class CPic1Dlg : public CDialog
{
// Construction
public:
CPic1Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPic1Dlg)
enum { IDD = IDD_PIC1_DIALOG };
// NOTE: the ClassWizard will add data members here
//*
CStatic m_BT4;
CStatic m_BT3;
CStatic m_BT2;
CStatic m_BT1;
CStatic m_BT0;
//*
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPic1Dlg)
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:
// virtual BOOL PreTranslateMessage(MSG* pMsg);
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(CPic1Dlg)
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 void OnButton1();
//}}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_PIC1DLG_H__EF331356_8F9F_4E5B_94FB_2C949FFF9060__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -