Click here to Skip to main content
15,894,896 members
Articles / Desktop Programming / MFC

Roll Your Own Scroll Bar

Rate me:
Please Sign up or sign in to vote.
4.92/5 (20 votes)
26 Oct 2010CPOL10 min read 83.2K   8.6K   56  
XeScrollBar - Custom scroll bar, a replacement for Windows scroll bar
// ScrollTestDoc.h : interface of the CScrollTestDoc class
//


#pragma once


class CScrollTestDoc : public CDocument
{
protected: // create from serialization only
	CScrollTestDoc();
	DECLARE_DYNCREATE(CScrollTestDoc)

// Attributes
public:

// Operations
public:

// Overrides
public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);

// Implementation
public:
	virtual ~CScrollTestDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
};


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) Kvikna.com
Iceland Iceland
I started programming back in 1980, briefly in Basic, switched to Assembler (Z80 CPU) running CP/M OS. Started to program for MS-DOS in Assembler (8088 CPU) when the IBM PC made it's apperance. Switched to C when I started to write programs for Windows in 1991. In 2002 switched to C++ and MFC. In 2011 started developing in C# .NET for Sharepoint 2010. In 2016 started developing WPF applications.

Comments and Discussions