Re: What is the width of UserControl vertical scroll bar
From: Ken Tucker [MVP] (vb2ae_at_bellsouth.net)
Date: 02/16/04
- Next message: Jay B. Harlow [MVP - Outlook]: "Re: BEST way of doing Reflection"
- Previous message: Jay B. Harlow [MVP - Outlook]: "Re: Reading from registry"
- In reply to: SamSpade: "What is the width of UserControl vertical scroll bar"
- Next in thread: SamSpade: "Re: What is the width of UserControl vertical scroll bar"
- Reply: SamSpade: "Re: What is the width of UserControl vertical scroll bar"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 16 Feb 2004 09:11:26 -0500
Hi,
The systeminformation class has that information.
Debug.WriteLine(SystemInformation.VerticalScrollBarWidth)
Ken
-------------------------
" SamSpade" <stillprogramming@REMOVEaol.com> wrote in message
news:uaZO$TJ9DHA.2756@TK2MSFTNGP10.phx.gbl...
> I need to set the client size width of a user control and leave room for a
> vertical scroll bar, but I don't know how wide it is.
>
> Seems I remember once checking system info for the width but don't
remember
> what I did.
>
> More importantly, is there a newer way to determine the width?
>
>
> Thanks for any help
>
>
- Next message: Jay B. Harlow [MVP - Outlook]: "Re: BEST way of doing Reflection"
- Previous message: Jay B. Harlow [MVP - Outlook]: "Re: Reading from registry"
- In reply to: SamSpade: "What is the width of UserControl vertical scroll bar"
- Next in thread: SamSpade: "Re: What is the width of UserControl vertical scroll bar"
- Reply: SamSpade: "Re: What is the width of UserControl vertical scroll bar"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|