Swapnil Mahajan
Swapnil Mahajan

Reputation: 9

Scroll bar is not visible in windows application

I am working on 3 windows applications which are built in VB. Last week I got an OS (windows 10) update which updates the build (version 1909 Build 18363.1500) of the system. After this update the scroll bars of all 3 applications in the Datagrid got invisible.

I tried to upgrade the framework to higher version but still it is not working.

Application Screenshot

Upvotes: 0

Views: 500

Answers (1)

MarkL
MarkL

Reputation: 1771

This is likely the result of Microsoft update KB5001337 being installed in Windows 10 1909. See April 13, 2021—KB5001337 (OS Build 18363.1500), the "Known issues in this update" portion of that page.

According to that 'known issue', "Microsoft is working on a resolution and will provide an update in an upcoming release."

Until Microsoft fixes this, from other reports on the 'net about this problem, uninstalling KB5001337 will restore the scroll bars.

Running a later Windows release (eg, 20H2) does not seem to incur the problem, so another option is to upgrade Windows.

Edit - Workaround

(credit to Jimi for pointing this out in a comment)

At least for Winform impacted applications, it appears that specifying the dependency on v6 of the Common Controls library will bring the scroll bars back.

In the application manifest, add (or uncomment) the dependency for Commmon Controls. Should look at least similar to this:

  <dependency>
    <dependentAssembly>
      <assemblyIdentity
          type="win32"
          name="Microsoft.Windows.Common-Controls"
          version="6.0.0.0"
          processorArchitecture="*"
          publicKeyToken="6595b64144ccf1df"
          language="*"
        />
    </dependentAssembly>
  </dependency>

Upvotes: 1

Related Questions