Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Question about the Dark Mode's dark scrollbars and toolbars

    Plugin Development
    3
    7
    472
    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.
    • Vitalii Dovgan
      Vitalii Dovgan last edited by

      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?

      PeterJones R 2 Replies Last reply Reply Quote 1
      • PeterJones
        PeterJones @Vitalii Dovgan last edited by

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

        PeterJones 1 Reply Last reply Reply Quote 1
        • R
          rdipardo @Vitalii Dovgan last edited by

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

          Vitalii Dovgan 1 Reply Last reply Reply Quote 3
          • Vitalii Dovgan
            Vitalii Dovgan @rdipardo last edited by

            @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
            • PeterJones
              PeterJones @PeterJones last edited by

              @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
              Vitalii Dovgan 1 Reply Last reply Reply Quote 1
              • Vitalii Dovgan
                Vitalii Dovgan @PeterJones last edited by

                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 Reply Quote 1
                • R
                  rdipardo @Vitalii Dovgan last edited by

                  Possibly related: Plugin rendered wrong since v8.4.3

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright © 2014 NodeBB Forums | Contributors