Click here to Skip to main content
15,881,715 members
Articles / Desktop Programming / MFC

A Slider Control for C++

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
30 May 2012CPOL3 min read 22.9K   941   7  
This post describes a slider control for C++ which make your application more attractive.
#if !defined(AFX_TEST4DLG_H__9D81B4AC_CC14_4719_814A_91EB0B653661__INCLUDED_)
#define AFX_TEST4DLG_H__9D81B4AC_CC14_4719_814A_91EB0B653661__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CTest4Dlg dialog

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

// Dialog Data
	//{{AFX_DATA(CTest4Dlg)
	enum { IDD = IDD_DIALOG4 };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTest4Dlg)
		// NOTE: the ClassWizard will add member functions here
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TEST4DLG_H__9D81B4AC_CC14_4719_814A_91EB0B653661__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
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions