This article was contributed by Terri Braxton.
Environment: VC6, NT4 SP3
CMultiSlider is derived from CSliderCtrl so the user can enter one or more intervals. After seeing "Round slider control" by Daniel Frey and the the time interval in "BCG Time Controls" by Stas Levin, I decided to do away with the multiple spin controls I was using.
To use CMultiSlider in your application:
The Inputs sections of the demo project illustrates the variables that would normally be set in OnInitDialog(). The Outputs sections demonstrates what would be passed back to your application (the first seven values set are displayed) when the dialog closes. Also, the color of each interval can be set by right-clicking within the interval to display the CColorDialog and right-clicking on the marker displays an edit box so you can type in the value of the marker.
Add Comment
INSTANT EXPERTS!Savvy IT Pros report on SupportSource. Take a look inside the largest vault of multi-vendor computing specs ever assembled. Click here for an In-depth Report,. Learn about Free & Open Source software at the Bazaar Conference & Expo!,December 14-16, 1999 in New York City! Click here for more information. For tons of Windows technology resources, check out the Windows Programming directory. Go to Fatbrain for the NEWEST and BEST technical books for IT professionals. Get Linux Utilities for ONLY $34.95 at EarthWeb Direct.