Re: Re: Is is possible to change the appearance of the scroll bar of Scintilla/SciTE?

Andrew Truckle <[email protected]>
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <[email protected]>
Interesting. I see that this code will give dark mode scroll bars:

SetWindowTheme(m_pMainWnd->GetSafeHwnd(), L"DarkMode_Explorer", nullptr);

But, as I expected, on Windows 11 my MFC dialog itself does not render dark 
mode. I can get the title bar to render dark mode. But nothing else. 
On Sunday 18 August 2024 at 23:49:00 UTC+1 [email protected] wrote:

> Thank you Robert!
>
> Please check the below picture. I only add one line and it looks what I am 
> seeking!!!
>
> Thank you!
>
> [image: image.png]
>
> On Sun, Aug 18, 2024 at 9:55 AM Robert Di Pardo <[email protected]> wrote:
>
>> Notepad++ achieves this by invoking a Windows API that became available 
>> in build 17763 of Windows, or W10 1809:
>>
>> https://github.com/notepad-plus-plus/notepad-plus-plus/blob/c1954e5c447cdaaeb004315ed7db2c0cf29d764c/PowerEditor/src/NppDarkMode.cpp#L3137-L3145
>>
>> The given application is responsible for its own window appearance. 
>> Scintilla is only an editing component.
>>
>> On Sunday, August 18, 2024 at 9:26:09 a.m. UTC-4 [email protected] 
>> wrote:
>>
>>> Hi, Neil and other buddies who love Scintilla,
>>>
>>> I want to change Scintilla into dark mode, but seems I cannot change the 
>>> scroll bar. I know Scintilla is using the standard scrollbar of Windows. Is 
>>> it possible to change it to "Dark" mode?
>>>
>>> [image: image.png]
>>>
>>> Here is the outlook of Notepad++, seems it is good:
>>> [image: image.png]
>>>
>>> Regards,
>>>
>>> Kevin
>>>
>> -- 
>> 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/124ad46d-ae4e-45cc-98c2-5d078a75e1d6n%40googlegroups.com 
>> <https://groups.google.com/d/msgid/scintilla-interest/124ad46d-ae4e-45cc-98c2-5d078a75e1d6n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/e618492b-bec8-40c2-8f54-d8cebd143cf4n%40googlegroups.com.
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.