• Login
Community
  • Login

Question about the Dark Mode's dark scrollbars and toolbars

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
7 Posts 3 Posters 1.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V
    Vitalii Dovgan
    last edited by May 20, 2022, 7:43 PM

    The Dark Mode in Notepad++ makes both the background and the scrollbars dark, as on the screenshot.
    alt text

    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.
    alt text

    Is there some specific code that needs to be added to plugins to fully support the Dark Mode?

    P R 2 Replies Last reply May 21, 2022, 4:44 PM Reply Quote 1
    • P
      PeterJones @Vitalii Dovgan
      last edited by May 21, 2022, 4:44 PM

      @vitalii-dovgan ,

      Well, as of v8.4.1, there is the new messages NPPM_ISDARKMODEENABLED and NPPM_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)

      P 1 Reply Last reply Jun 13, 2022, 1:19 PM Reply Quote 1
      • R
        rdipardo @Vitalii Dovgan
        last edited by May 22, 2022, 12:28 PM

        @vitalii-dovgan,
        watch this space: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/11711

        V 1 Reply Last reply May 23, 2022, 8:16 AM Reply Quote 3
        • V
          Vitalii Dovgan @rdipardo
          last edited by May 23, 2022, 8:16 AM

          @rdipardo
          Wow, this is an impressive pull request! It definitely shows that the Dark Mode is not so easy to implement!

          1 Reply Last reply Reply Quote 2
          • P
            PeterJones @PeterJones
            last edited by Jun 13, 2022, 1:19 PM

            @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:

            • NPPM_ISDARKMODEENABLED
            • NPPM_GETDARKMODECOLORS
            V 1 Reply Last reply Aug 10, 2022, 4:25 PM Reply Quote 1
            • V
              Vitalii Dovgan @PeterJones
              last edited by Aug 10, 2022, 4:25 PM

              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?

              R 1 Reply Last reply Aug 11, 2022, 9:15 PM Reply Quote 1
              • R
                rdipardo @Vitalii Dovgan
                last edited by Aug 11, 2022, 9:15 PM

                Possibly related: Plugin rendered wrong since v8.4.3

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors