📄 timeoftimedlg.h
字号:
#if !defined(AFX_TIMEOFTIMEDLG_H__6FABA2D2_5EA3_4848_8B17_9AAFECBE519E__INCLUDED_)
#define AFX_TIMEOFTIMEDLG_H__6FABA2D2_5EA3_4848_8B17_9AAFECBE519E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TimeOfTimeDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CTimeOfTimeDlg dialog
class CTimeOfTimeDlg : public CDialog
{
// Construction
public:
void DrawInterface(CDC &dc);
void CopyBMP(int m_map, int i);
CTimeOfTimeDlg(CWnd* pParent = NULL); // standard constructor
private:
int m_Left,m_Top,m_Width,m_Height;
CBitmap m_BackScreenBitmap;
public:
void OnBtnOK();
int CStringToInt(CString m_string);
void OnBtnSecondRight();
void OnBtnSecondLeft();
void OnBtnMinuteRight();
void OnBtnMinuteLeft();
void OnBtnHourRight();
void OnBtnHourLeft();
void SetToolRectangle();
// void SetToolRectangle();
// void CopyBMP(int m_map, int i);
// void DrawInterface(CDC &dc);
CRect m_rect[7];
int m_prePick ; //the last time picked button
int m_currentPick ; //the current pick button
BOOL m_bIsExecute ;
BOOL m_NavRefresh ;
CString hour,minute,second;
// Dialog Data
//{{AFX_DATA(CTimeOfTimeDlg)
enum { IDD = IDD_TIMEOFTIME };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTimeOfTimeDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CTimeOfTimeDlg)
virtual BOOL OnInitDialog();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnPaint();
virtual void OnOK();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
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_TIMEOFTIMEDLG_H__6FABA2D2_5EA3_4848_8B17_9AAFECBE519E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -