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

Threads with MFC

, 1 Feb 2003
Multithreading Programming with a MFC environment.
threads_and_mfc_demo.zip
Threads.aps
Threads.clw
Threads.dsp
Threads.dsw
Threads.ncb
Threads.opt
Threads.plg
Debug
Threads.res
res
Threads.ico
#if !defined(AFX_LOOPSLIDER_H__8DD8B9D0_5578_4E55_AE3E_D8397EBE0704__INCLUDED_)
#define AFX_LOOPSLIDER_H__8DD8B9D0_5578_4E55_AE3E_D8397EBE0704__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LoopSlider.h : header file
//
#include "Threads.h"
/////////////////////////////////////////////////////////////////////////////
// CLoopSlider window

class CLoopSlider : public CSliderCtrl
{
// Construction
public:
	CLoopSlider();
 
// Attributes
public:

	int		m_iMin;
	int		m_iMax;
	int		m_iPosition;
	void    initSlider();
	void	SetSlidePos( const int pos );
	void	SetSlideRange( const int min, const int max );
    int     GetSliderPos();
// Operations
public:
	 ~CLoopSlider();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLoopSlider)
	//}}AFX_VIRTUAL

// Implementation

	// Generated message map functions
protected:
	//{{AFX_MSG(CLoopSlider)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
afx_msg void HScroll(UINT ncode,UINT pos );
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_LOOPSLIDER_H__8DD8B9D0_5578_4E55_AE3E_D8397EBE0704__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

Aria Ansari
Software Developer
Denmark Denmark
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141223.1 | Last Updated 2 Feb 2003
Article Copyright 2003 by Aria Ansari
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid