Skip to content

[BUG] NPPM_DARKMODESUBCLASSANDTHEME: ProgressBar doesn't follow DarkMode #16675

@pryrt

Description

@pryrt

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

When a progress bar control is present in the dialog when NPPM_DARKMODESUBCLASSANDTHEME is called, the progress bar stays in Light Mode.

In #16668, the screenshots showed this problem, as @ozone10 pointed out in this comment)

Steps To Reproduce

Follow STR from #16668:

  1. Download the DLL artifact from the CollectionInterface plugin's darkModeTabControl build and install in plugins\CollectionInterface\CollectionInterface.dll
  2. Run Notepad++ in Dark Mode
  3. Plugins > CollectionInterface > Collection Interface: Download, and look at the progress bar beneath the list box: it is still Light Mode colors, even though Dark Mode was chosen and the DARKMODESUBCLASSANDTHEME message was sent.

Current Behavior

Progress bar is light mode in Dark Mode dialog.

Expected Behavior

Progress bar should be dark mode in Dark Mode dialog.

Debug Information

Notepad++ v8.8.1   (64-bit)
Build time : Jun 11 2025 - 15:54:05
Scintilla/Lexilla included : 5.5.6/5.4.4
Boost Regex included : 1_85
Path : C:\usr\local\share\github\notepad-plus-plus\PowerEditor\visual.net\x64\Debug\Notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : ON
Placeholders : OFF
Scintilla Rendering Mode : SC_TECHNOLOGY_DIRECTWRITE (1)
Multi-instance Mode : monoInst
File Status Auto-Detection : cdEnabledNew (for current file/tab only)
Dark Mode : ON
Display Info : 
    primary monitor: 1920x1080, scaling 100%
    visible monitors count: 1
    installed Display Class adapters: 
        0000: Description - Intel(R) UHD Graphics 770
        0000: DriverVersion - 32.0.101.6556
OS Name : Windows 11 Home (64-bit)
OS Version : 24H2
OS Build : 26100.4061
Current ANSI codepage : 1252
Plugins : 
    CollectionInterface (1.0.99.99)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions