Question about the Dark Mode's dark scrollbars and toolbars
-
The Dark Mode in Notepad++ makes both the background and the scrollbars dark, as on the screenshot.
The dark background is applied to the title bars of Notepad++‘es plugins and to some scrollbars in plugins’ windows.
However, it is not applied to some plugins’ toolbars and to a scrollbar of a RichEdit control as can be seen on the another screenshot.
Is there some specific code that needs to be added to plugins to fully support the Dark Mode?
-
Well, as of v8.4.1, there is the new messages
NPPM_ISDARKMODEENABLED
andNPPM_GETDARKMODECOLORS
(which will eventually be documented at the usermanual, the next time it’s published)… but I don’t know if that’s sufficient for you to then change the colors of the toolbar yourself. (And, of course, it won’t work before v8.4.1) -
@vitalii-dovgan,
watch this space: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/11711 -
@rdipardo
Wow, this is an impressive pull request! It definitely shows that the Dark Mode is not so easy to implement! -
@peterjones said in Question about the Dark Mode's dark scrollbars and toolbars:
which will eventually be documented at the usermanual, the next time it’s published)
It has been published:
-
Since Notepad++ 8.4.4 enhanced Dark Mode, the plugins’ docked dialogs seem to stop receiving the WM_CTLCOLOREDIT message. Is it something expected? If so, what is the alternative way of providing a custom colors for EDIT controls?
-
Possibly related: Plugin rendered wrong since v8.4.3