Re: win11 dark scrollbars

Stan Day <[email protected]>
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <CABmf=n0dfCazcT7Apw+9-txWMUrynqpe=4k-fPs8v-OLsDrUNw@mail.gmail.com>
Neil, that's interesting. I'm running the latest win11. I know this is
probably outside the scope of Scintilla, but I don't know who else might
know. In Notepad++ scrollbars look like the first image below (and they are
part of the scintilla component), in a regular edit window, they always
look like the 2nd image. I'd like to "force" the edit control's scrollbar
to look like the Notepad++ scrollbar. Is there a StyleHook being called on
scintilla somewhere? I was hoping there was some DWM call or something to
make this work. I was able to finally get dark captionbars using new DWM
calls. Hoping there was something like that for scrollbars too.

[image: darksb3.png]
Dark
[image: lightsb.png]
Light



On Sat, Jul 27, 2024 at 4:33 PM 'Neil Hodgson' via scintilla-interest <
[email protected]> wrote:

> SRD:
>
> > Or where that might be located in scintilla itself?
>
> Scintilla just uses standard Windows scroll bars which are drawn
> completely by Windows. Their presence is determined by the application
> specifying the scrollbar request flags when creating a "Scintilla" window:
> WS_VSCROLL | WS_HSCROLL.
>
> Neil
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "scintilla-interest" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/scintilla-interest/1bFA_4l_2Xw/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/scintilla-interest/3A533F1B-7633-45CF-980D-1F02DEDBDA73%40me.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scintilla-interest/CABmf%3Dn0dfCazcT7Apw%2B9-txWMUrynqpe%3D4k-fPs8v-OLsDrUNw%40mail.gmail.com.
darksb3.png (image/png, 4.1 KB) - not displayed
lightsb.png (image/png, 1.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.