Solved

Slider or trackbar Controls

Posted on 1997-12-17
3
278 Views
Last Modified: 2013-11-19
I have a slider control with a range from 1 to 100.  When I click on the slider but not on the bar and hold down the mouse button, the bar moves in intervals of 5 units (5, 10, ...,100).  I would like the bar to move in intervals of only 1 unit (1,2,3,...,100).  I was unable to find any help on setting the step size to a specified interval.  Any suggestions would be appreciated.

Thanx
zeekial@osler.card.bgsm.edu
0
Comment
Question by:zeekial
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 20 total points
ID: 1312537
For a slider control, you can control how much the slider moves by using GetLineSize()/SetLineSize() (default is 1) for each click of the arrows and GetPageSize()/SetPageSize() for each page (default is 5).


0
 

Author Comment

by:zeekial
ID: 1312538
Is there anyway to increase the speed at which it moves when its scrolling 1 by 1?
0
 

Author Comment

by:zeekial
ID: 1312539
Is there anyway to increase the speed at which it moves when its scrolling 1 by 1?
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Best tools for Backup and restore of Wordpress site 6 58
if loop in java 3 174
format the code in java 6 116
wait notify demo infinite loop 3 148
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question