Arlie, why don't you just make your own?
I know that I write ugly code...but it tends to work :-)
Make a Label in your choice of size/colour and just use the MouseMove event
to track its horizontal movement across the form. Draw a rectangle around
the desired area to make it look like a "real" scroll bar. You can then
choose whether you wish to put the arrows at each end of the "control".
I don't the foggiest idea of how to capture the mouse scroll wheel but you
might get somewhere with:
http://www.adit.co.uk/html/mousewheelsupport.html
There are a few other traps that are required in the code below to constrain
the returned values, but it might get you thinking in another direction.
You also seem to have a habit of criticizing responses you receive on this
newsgroup. Make sure that you declare all that you require in your
solution before posting it. It is not nice form to declare someones
solution as unworkable because it does not support colours or a mousewheel
when you did not specify that in the original question.
Make sure that your forms scalemode is set to Twips and the DragMode of your
Label is set to manual.
Private Sub Label1_MouseDown(Button As Integer, Shift As Integer, X As
Single, Y As Single)
StartX = X
End Sub
Private Sub Label1_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
minLeft = 1080
maxRight = 8490
If Button = 1 And Label1.Left >= minLeft And Label1.Left <= maxRight Then
Label1.Left = Label1.Left + X - StartX
End If
If Label1.Left < minLeft Then Label1.Left = minLeft
If Label1.Left > maxRight Then Label1.Left = maxRight
End Sub
Tom
"Arlie Rahn" <ar*******@nospam.cox.net> wrote in message
news:OfYMc.2316$zA4.593@lakeread04...
Yeah, the problem is you can't customize the color and it doesn't support
the mouse wheel. I'm looking to have that functionality as well.
"Arlie Rahn" <ar*******@nospam.cox.net> wrote in message
news:<MriMc.13358$%p4.2005@okepread04>... Anyone? This is also for VB 6.0.
"Arlie Rahn" <ar*******@nospam.cox.net> wrote in message
news:TGYJc.8047$%p4.2152@okepread04...
> I would like to ad a custom scroll bar control to my app that has a
> customizable and "flat" look to it (not the normal VB look). Does anyone > have any ideas on where to find a good one?
>
>