Scroll bar buttons

J

Joel Whitehouse

Hello All,

I am wondering how I can get a pair or usercontrol buttons that look
like the ones on a horizontal scroll bar. I don't want a scrollbar
really, just the buttons with the nifty little arrows. Is there any
practical way in which I can exploit previously written code, or do I
have to draw my own little GDI+ arrows over a captionless button?

-Joel
 
H

Herfried K. Wagner [MVP]

Joel Whitehouse said:
I am wondering how I can get a pair or usercontrol buttons that look like
the ones on a horizontal scroll bar. I don't want a scrollbar really,
just the buttons with the nifty little arrows. Is there any practical way
in which I can exploit previously written code, or do I have to draw my
own little GDI+ arrows over a captionless button?

There is no such control avialable in the .NET Framework's class library.
However, check out the 'ControlPaint' class and the
'System.Windows.Forms.VisualStyles' namespace (.NET 2.0 only).
 
J

Joel Whitehouse

Herfried said:
There is no such control avialable in the .NET Framework's class
library. However, check out the 'ControlPaint' class and the
'System.Windows.Forms.VisualStyles' namespace (.NET 2.0 only).
Thanks! I have VS2003 with .NET 1.1. Is there any way that I can
upgrade my .NET version without getting VS2005?

-Joel
 
H

Herfried K. Wagner [MVP]

Joel Whitehouse said:
Thanks! I have VS2003 with .NET 1.1. Is there any way that I can
upgrade my .NET version without getting VS2005?

No, VS.NET 2003 is tied to .NET 1.1.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top