Solved

Slider or trackbar Controls

Posted on 1997-12-17
3
271 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
  • 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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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
Strange date stored 22 171
Importing Special Characters in Dynamics GP Through Integration Manager 3 89
notReplace  challenge 53 151
pre4 challenge 19 110
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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

756 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