othertimezone.h

来自「该时间管理是模仿酷派628手机上的时间管理书写其功能」· C头文件 代码 · 共 71 行

H
71
字号
#if !defined(AFX_OTHERTIMEZONE_H__F315E851_875B_47F3_B39D_C52138D8547B__INCLUDED_)
#define AFX_OTHERTIMEZONE_H__F315E851_875B_47F3_B39D_C52138D8547B__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// COtherTimeZone dialog

class COtherTimeZone : public CDialog
{
// Construction
public:
	COtherTimeZone(CString WorldZoneName, CWnd* pParent = NULL);   // standard constructor

	//获取用户选择的时区名
	CString GetSelTimeZoneName();

	int GetIsUPdateOtherTimeZone();

// Dialog Data
	//{{AFX_DATA(COtherTimeZone)
	enum { IDD = IDD_DLG_SEL_TIMEZONE };
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COtherTimeZone)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(COtherTimeZone)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeListTimeZone();
	afx_msg void OnBtnOk();
	afx_msg void OnBtnNo();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	CButton	m_btnNo;
	CButton	m_btnOk;
	CListBox	m_ListTimeZone;

	void GetTimeZoneName();
	CString m_strTimeZoneName;

	//记录用户传进来的世界时区名
	CString m_strWorldZoneName;

	//是否修改其它时区 0:不修改,1:修改 。默认为0
	int m_iIsUpdateOtherTimeZone;

	//记录用户是否选择的世界时区名
	BOOL m_bSelWordZoneName;
};

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

#endif // !defined(AFX_OTHERTIMEZONE_H__F315E851_875B_47F3_B39D_C52138D8547B__INCLUDED_)

⌨️ 快捷键说明

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