Re: win11 dark scrollbars

SRD <[email protected]>
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <[email protected]>
Marc,

You can NOT believe how long I've been looking for this! Thanks! In my 
Delphi program I used this for dark:

SetWindowTheme( Memo1.Handle, 'DarkMode_Explorer', nil);

or this for light:

SetWindowTheme( Memo1.Handle, 'LightMode_Explorer', nil);

And that finally worked for all the components I used it on. Thanks again

Stan

On Sunday, July 28, 2024 at 11:20:32 AM UTC-6 marc wrote:

You just need the HWND of your scintilla window...

SetWindowTheme(wnd, is_dark ? L"DarkMode_Explorer" : nullptr, nullptr);


 

-- 
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/0f89eec4-4ff8-42d6-a177-2ad9b2c89259n%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.