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

CWindowScroller

Rate me:
Please Sign up or sign in to vote.
4.83/5 (39 votes)
7 May 2016CPOL5 min read 179.2K   4.5K   78  
An MFC control for adding middle mouse button scrolling to any CWnd derived window

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.24720.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Scroller", "Scroller\Scroller.vcxproj", "{C1FC02DC-18F8-49B0-A733-FD5809E917BA}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|x64 = Debug|x64
		Debug|x86 = Debug|x86
		Release|x64 = Release|x64
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{C1FC02DC-18F8-49B0-A733-FD5809E917BA}.Debug|x64.ActiveCfg = Debug|x64
		{C1FC02DC-18F8-49B0-A733-FD5809E917BA}.Debug|x64.Build.0 = Debug|x64
		{C1FC02DC-18F8-49B0-A733-FD5809E917BA}.Debug|x86.ActiveCfg = Debug|Win32
		{C1FC02DC-18F8-49B0-A733-FD5809E917BA}.Debug|x86.Build.0 = Debug|Win32
		{C1FC02DC-18F8-49B0-A733-FD5809E917BA}.Release|x64.ActiveCfg = Release|x64
		{C1FC02DC-18F8-49B0-A733-FD5809E917BA}.Release|x64.Build.0 = Release|x64
		{C1FC02DC-18F8-49B0-A733-FD5809E917BA}.Release|x86.ActiveCfg = Release|Win32
		{C1FC02DC-18F8-49B0-A733-FD5809E917BA}.Release|x86.Build.0 = Release|Win32
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

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
President
Canada Canada
Father of two, brother of two, child of two.
Spouse to one, uncle to many, friend to lots.
Farmer, carpenter, mechanic, electrician, but definitely not a plumber.
Likes walks with the wife, board games, card games, travel, and camping in the summer.
High school graduate, college drop-out.
Hobby programmer who knows C++ with MFC and the STL.
Has dabbled with BASIC, Pascal, Fortran, COBOL, C#, SQL, ASM, and HTML.
Realized long ago that programming is fun when there is nobody pressuring you with schedules and timelines.

Comments and Discussions