Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 280
  • Last Modified:

scroll down by 200 pixels

how can I scroll down by 200 pixels each time I click on the down button on the scroll bar

thanks

2sk
0
2sk
Asked:
2sk
1 Solution
 
Nass89Commented:
Which view class are you using?
Explain you application more.
0
 
CatalepsyCommented:
Assuming you are using CScrollView, you do this by calling SetScrollSizes.  When you click on the down arrow that is the same as scrolling down by a line.  So, make sure you set the size for sizeLine.  If you are using some other kind of scroll bar, you should override the OnVScroll method and handle the SB_LINEDOWN code.  Here you can set the scroll value to whatever you want.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now