Mouse over scrollbar 
Author Message
 Mouse over scrollbar

Hi everyone!

I'm working on a spreadsheet-viewer, and I want the mousepointer to be a
magnifying glass, when over the sheet, and a normal arrow, when over the
scrollbars.
But there's no MouseMove event for the scrollbar-control, so how do I
check whether the mouse is over the scrollbar?

thanks in advance,
Daniel



Mon, 15 Apr 2002 03:00:00 GMT  
 Mouse over scrollbar
Hello Nils,

Have you tried the MousePointer property of the
scroll bar?

This looks like what you need.

--

"For God So Loved The World, That He Gave His
Only Begotten Son, That Whosoever Believeth
In Him Should Not Perish, But Have Everlasting
Life"John3:16  * http://pw2.netcom.com/~cbrtjr/wrdthing.html *

Quote:

>Hi everyone!

>I'm working on a spreadsheet-viewer, and I want the mousepointer to be a
>magnifying glass, when over the sheet, and a normal arrow, when over the
>scrollbars.
>But there's no MouseMove event for the scrollbar-control, so how do I
>check whether the mouse is over the scrollbar?

>thanks in advance,
>Daniel



Mon, 15 Apr 2002 03:00:00 GMT  
 Mouse over scrollbar
You don't.
You set the MousePointer property of the control the is the actual
sheet to "vbCustom" and the MouseIcon property to the image to use.
then whenever the mouse is over the sheet control VB will make
sure that it is displayed correctly.

You didn't say what kind of control you are using for the "sheet".
If it does not have the MousePointer or MouseIcon properties
you may have to nest it inside a control that does like a PictureBox.



Quote:
> Hi everyone!

> I'm working on a spreadsheet-viewer, and I want the mousepointer to be a
> magnifying glass, when over the sheet, and a normal arrow, when over the
> scrollbars.
> But there's no MouseMove event for the scrollbar-control, so how do I
> check whether the mouse is over the scrollbar?

> thanks in advance,
> Daniel



Mon, 15 Apr 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Mouse over Scrollbar

2. Determining Mouse pos over scrollbar?

3. Determining Mouse pos over scrollbar?

4. Determining Mouse pos over scrollbar?

5. Flash Scrollbar or Change Scrollbar Color

6. When the Treeview scrollbar moves the FlexGrid Scrollbar should also move

7. mouse interface program MOUSE.BAS

8. move a mouse pointer to a different location without moving the mouse

9. SLOWING DOWN the mouse (decreasing mouse sensitivity)

10. SLOWING DOWN the mouse (decreasing mouse sensitivity)

11. MOUSE MENU - MOUSE MENU

12. Mouse clicking without clickinmg the Mouse

 

 
Powered by phpBB® Forum Software