473,382 Members | 1,367 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Scrollbar Events

hi
In vscroll bar I want to differenciate between Upper or Lower scroll buttons. Just say when user press top button a message is displayed "Top is pressed" and when lower button is pressed message is displayed "Buttom is pressed" is there any event to do this?

Nov 16 '05 #1
1 1776
You could store the previous scroll value and check if it has got bigger or smaller. Otherwise you might have to subclass.

--
Michael Culley
"Qumer Mumtaz" <Qumer Mu****@discussions.microsoft.com> wrote in message news:7F**********************************@microsof t.com...
hi
In vscroll bar I want to differenciate between Upper or Lower scroll buttons. Just say when user press top button a message is displayed "Top is pressed" and when lower button is pressed message is displayed "Buttom is pressed" is there any event to do this?

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ross | last post by:
I have been using the following script to return a scrollbar to the position it was in before the data was posted. It works in ie but not in firefox. Thanks, R. <script...
0
by: lkr | last post by:
hi i got some of the events handling for word in c# from msdn but i want scrollbar events to be triggered using c#........ could u plse help on this topic lkr
0
by: lkr | last post by:
hi i got the code for handling some of the events in MSWord.But i need ScrollBar events to be handled .i got the handle to the word application window through an API using ForeGroundWindow().By...
22
by: Colin McGuire | last post by:
I apologize for posting yet another scrollbar question. Here is my code. All I want is for a diagonal line to appear from coordinates (0,0) to (width,height) in a usercontrol regardless of whether...
2
by: Robin Tucker | last post by:
Hiya, I'm giving my vertical scrollbar the focus so it can handle mousewheel events. When I give it the focus with ScrollBar.Focus(), it starts flashing (at least the drag bar does). Is...
2
by: anx | last post by:
I've got a grid-managed frame, containing a column of Labels, and a corresponding column of Entry widgets. I'd like to be able to display dozens, or even hundreds of rows, and use a vertical...
2
by: Ahmad Jalil Qarshi | last post by:
Hi! I am making an application and need to capture the event when RichTexBox control's vertical scrollbar's values changes. There is an event named VScroll but it is fired when mouse is ...
0
by: Andreas | last post by:
Hi, I have created a Panel which includes a simple ListBox. I added MouseEnter- and MouseLeave-events to the Panel and the ListBox. With entering the Panel (and the ListBox) I want to show some...
3
by: weston | last post by:
I'm making a foray into trying to create custom vertical scrollbars and sliders, and thought I had a basic idea how to do it, but seem to be having some trouble with the implementation. My...
3
by: papalarge | last post by:
Hey all... My boss typically dislikes the packaged components, and so I'm wondering if there's any code out there to modify the way a scrollbar looks. I'd love to change colors and, if...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.