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