Click here to Skip to main content
15,885,278 members
Articles / Programming Languages / C++

Auto File Save Add-in for Visual Studio 6.0

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
9 Mar 2000CPOL 59.2K   11  
Add auto-save feature to Visual Studio 6.0.
#if !defined(AFX_AUTOSAVEDLG_H__6961374A_E2B6_11D2_AEFB_52544C099BAF__INCLUDED_)
#define AFX_AUTOSAVEDLG_H__6961374A_E2B6_11D2_AEFB_52544C099BAF__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// AutoSaveDlg dialog

class AutoSaveDlg : public CDialog
{
// Construction
public:
	AutoSaveDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(AutoSaveDlg)
	enum { IDD = IDD_AUTOSAVE };
	CButton	m_aboutButton;
	BOOL	m_saveFiles;
	BOOL	m_saveWorkspace;
	UINT	m_period;
	BOOL	m_protectIntellisense;
	//}}AFX_DATA


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

// Implementation
protected:

	CBitmap m_aboutBitmap;

	// Generated message map functions
	//{{AFX_MSG(AutoSaveDlg)
	virtual void OnOK();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnAbout();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_AUTOSAVEDLG_H__6961374A_E2B6_11D2_AEFB_52544C099BAF__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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Israel Israel
It's all in my website

Comments and Discussions