Re: Another Dark Mode Question - Menus

SRD <[email protected]>
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <[email protected]>
I found it. It's the SetDarkMode and related code in the Notpad++ source.

On Thursday, August 22, 2024 at 4:06:36 AM UTC-6 SRD wrote:

> Using Notepad++ source I've been able to set scrollbars and the main menu 
> UI to dark mode. But the one major thing that I simply can not find is how 
> to get dark mode popup menus (as well as a dark mode system menu). 
>
> Does anyone have any idea how to do that? The best I've managed to do is 
> to add wndproc code for the popuplist window and then use MenuInfo to get a 
> less ugly popup border, then add drawitem code for the menu items to set 
> colors. It' "works" but it's a PITA, popup menus don't look like win11 
> menus should look (i.e., square corners) and it's hard to use and maintain.
>
> So, is there some simple API call or something to get an apps menus to be 
> in dark mode like we can do with the scrollbars? Any ideas appreciated!
>
> Stan
>
>
>

-- 
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/43dcc358-147e-4992-995c-e8fff52992f9n%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.