Results 1 to 5 of 5

Thread: Windows Scrollbar Width?

  1. #1

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Windows Scrollbar Width?

    Anyone know how to get the Width of the Windows Scrollbar?
    (in the overall windows settings?)
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  2. #2
    Hyperactive Member
    Join Date
    Apr 2001
    Posts
    315
    Project / Components / Microsoft Sysinfo Control 6.0.

    Add sysinfo control to form.
    sysinfo.ScrollBarSize

    ScrollBarSize Property
    Returns the system metric for the width of a scroll bar in twips.

  3. #3

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    hmm..never played with that control before...very nice.
    But...its shy about 50 twips!??

    odd....

    Thanks.
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  4. #4
    gaffa
    Guest
    Use GetSystemMetrics, and the constants SM_CXSCROLL, SM_CYSCROLL etc..

    - gaffa

  5. #5

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    Thanx Gaffa..I try it tonight.
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width