Home All Groups Group Topic Archive Search About
Author
16 Jan 2006 4:43 PM
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

Author
16 Jan 2006 7:52 PM
Herfried K. Wagner [MVP]
"Joel Whitehouse" <joelwhiteho***@hotmail.com> schrieb:
> 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).

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
16 Jan 2006 9:15 PM
Joel Whitehouse
Herfried K. Wagner [MVP] wrote:

>
> 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
Author
16 Jan 2006 9:45 PM
Herfried K. Wagner [MVP]
"Joel Whitehouse" <joelwhiteho***@hotmail.com> schrieb:
>> 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?

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

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>