Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3455868
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:40:00+00:00 2026-05-18T09:40:00+00:00

I need to move controls around when the scrollbar’s size change ( System.Windows.Forms.SystemInformation.VerticalScrollBarWidth ).

  • 0

I need to move controls around when the scrollbar’s size change (System.Windows.Forms.SystemInformation.VerticalScrollBarWidth).

I’m creating a control with custom scrollbars that go over the normal ones. This implies creating a new UserControl (not inheriting a built-in control) and playing around with panels so as to hide the normal scrollbars.

The custom control must have one “outer” panel at the right size, this one containing an “inner” panel larger than the outer panel, so the scrollbars do not appear. How much larger depends on System.Windows.Forms.SystemInformation.VerticalScrollBarWidth and HorizontalScrollBarHeight as was already answered. But then I must know if that changes when my app is running, as improbable as it seems.

This question is related to:
How do I know the current width of system scrollbar?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:40:01+00:00Added an answer on May 18, 2026 at 9:40 am

    One must listen to Microsoft.Win32.SystemEvents.UserPreferenceChanged.
    As takrl mentioned, OnSystemColorsChanged gets called, but only once for me (Windows7, Framework 3.5)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

import fl.controls.ColorPicker; import fl.events.ColorPickerEvent; var myColorPicker:ColorPicker = new ColorPicker(); myColorPicker.addEventListener(ColorPickerEvent.CHANGE, changeHandler); myColorPicker.move(10, 10); addChild(myColorPicker);
We need to move off traditional FTP for security purposes (it transmits it's passwords
I need to move data from a datareader into a Farpoint Spreadsheet component in
I need to move backwards through an array, so I have code like this:
I need to make multiple divs move from right to left across the screen
I'm hacking on a simple Cocoa app to make blocks move around the screen
I have a canvas in the middle of my application with controls around it.
I need my all controls to be right aligned. so when resizing they should
Currently, when I want to use Microsoft Chart Controls on a website, I need
I am creating a portal type dashboard for our app. The controls are added

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.