Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

Date-Time Conversion Utility

, 21 Sep 2001
A simple app that converts to and between time_t, DATE, and regular date string expressions
dtconverter.zip
res
idr_main.ico
DTConverter.ico
DTConverter.dsp
DTConverter.dsw
DTConverter.exe
dtconvertor.zip
DTConverter.ico
DTConverter.dsp
DTConverter.dsw
DTConverter.exe
#if !defined(AFX_DLGOPTIONS_H__C89A1A26_883B_11D5_A116_000000000000__INCLUDED_)
#define AFX_DLGOPTIONS_H__C89A1A26_883B_11D5_A116_000000000000__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDlgOptions dialog

class CDlgOptions : public CDialog
{
// Construction
public:
	CDlgOptions(CWnd* pParent = NULL);   // standard constructor
  void SetAutoPaste(int iAutoPaste)       { m_iAutoPaste = iAutoPaste;  }
  int  GetAutoPaste(void)                 { return m_iAutoPaste;    }
  void SetAutoConvert(BOOL bAutoConvert)  { m_bAutoConvert = bAutoConvert;  }
  BOOL GetAutoConvert(void)               { return m_bAutoConvert;  }
  void SetFullAutoConvert(int iAutoConv)  { m_iAutoConvert = iAutoConv; }
  int  GetFullAutoConvert(void)           { return m_iAutoConvert;  }

protected:
// Dialog Data
	//{{AFX_DATA(CDlgOptions)
	enum { IDD = IDD_OPTIONS };
	CButton	m_rdNoAutoConvert;
  CButton	m_rdAutoConvertTimeT;
  CButton m_rdAutoConvertDate;
  CButton m_rdAutoConvertString;
  CButton m_rdAutoConvertSpan;
  CButton m_rdAutoConvertTotalSec;
	CButton	m_chkAutoConvert;
	int		m_iAutoPaste;
	BOOL	m_bAutoConvert;
	int		m_iAutoConvert;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgOptions)
	afx_msg void OnApply();
	virtual BOOL OnInitDialog();
	afx_msg void OnRdNoAutoPaste();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DLGOPTIONS_H__C89A1A26_883B_11D5_A116_000000000000__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Alvaro Mendez
Web Developer
United States United States
I've done extensive work with C++, MFC, COM, and ATL on the Windows side. On the Web side, I've worked with VB, ASP, JavaScript, and COM+. I've also been involved with server-side Java, which includes JSP, Servlets, and EJB, and more recently with ASP.NET/C#.

| Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 22 Sep 2001
Article Copyright 1999 by Alvaro Mendez
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid