‹ BackHN Continuity

Thread

A brief history of Windows scroll bar shortcuts

179 points · 118 comments · tybulewicz

  1. zerr · · focus · HN ↗
    > nobody uses Win32 scroll bars

    Because it is impossible to change its color. It was/is not uncommon to see custom/dark skinned Windows apps with ugly gray scrollbars looking at you. Even today, only Light and Dark themes are supported, impossible to set a custom color.

    1. card_zero · · focus · HN ↗
      Hmm.

      "... Custom Draw, the feature found with many of the common controls shipped with Windows. Custom Draw allows an application to completely take over the drawing of a window’s scrollbars, and replace the scrollbar graphics with a completely user defined look."

      <a href="https:&#x2F;&#x2F;www.catch22.net&#x2F;tuts&#x2F;win32&#x2F;custom-scrollbars&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.catch22.net&#x2F;tuts&#x2F;win32&#x2F;custom-scrollbars&#x2F;

      Not sure what (or when) Custom Draw was. It&#x27;s not in my WIN32.HLP file.

      1. zerr · · focus · HN ↗
        Yes, you have to draw everything. Not exactly &quot;SetBkColor&quot; :)
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.