⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 timeofdatedlg.h

📁 EVC开发的手持导航的用户操作界面
💻 H
字号:
#if !defined(AFX_TIMEOFDATEDLG_H__4291C9C9_E684_4762_BD19_5CD3910AE116__INCLUDED_)
#define AFX_TIMEOFDATEDLG_H__4291C9C9_E684_4762_BD19_5CD3910AE116__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CTimeOfDateDlg dialog

class CTimeOfDateDlg : public CDialog
{
// Construction
public:
//	void SetToolRectangle();
	void DrawInterface(CDC &dc);
	void CopyBMP(int m_map, int i);
	CTimeOfDateDlg(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);
	CString year,month,day;
	void OnBtnDayRight();
	void OnBtnDayLeft();
	void OnBtnMonthRight();
	void OnBtnMonthLeft();
	void OnBtnYearRight();
	void OnBtnYearLeft();
//	void OnBtnYearLeft;
	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 ;
// Dialog Data
	//{{AFX_DATA(CTimeOfDateDlg)
	enum { IDD = IDD_TIMEOFDATE };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


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

// Implementation
protected:

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

⌨️ 快捷键说明

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